assign_no_returnvalue
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
assign_no_returnvalue [2018/06/07 07:19] – wolfgangriedmann | assign_no_returnvalue [2018/06/09 10:48] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 5: | Line 5: | ||
The following code, perfectly valid in VO, will throw this warning in X#: | The following code, perfectly valid in VO, will throw this warning in X#: | ||
- | < | + | < |
protect _cMyVar as string | protect _cMyVar as string | ||
| | ||
Line 14: | Line 14: | ||
| | ||
It is recommended to type the access/ | It is recommended to type the access/ | ||
- | < | + | < |
protect _cMyVar as string | protect _cMyVar as string | ||
| | ||
Line 22: | Line 22: | ||
_cMyVar := cMyVar | _cMyVar := cMyVar | ||
| | ||
- | return | + | return</ |
In this manner the compiler will you notify when you anywhere in your code have used the return value of the '' | In this manner the compiler will you notify when you anywhere in your code have used the return value of the '' | ||
assign_no_returnvalue.txt · Last modified: 2018/06/09 10:48 by wolfgangriedmann