for loop compile error
Hi
can i use for loops in udf ? like this : for (int j = 10 ; j >= 0 ; j = j - 1) { .......; } errors : error C2143: syntax error : missing ';' before 'type' error C2143: syntax error : missing ')' before 'type' error C2065: 'j' : undeclared identifier warning C4552: '>=' : operator has no effect; expected operator with side-effect |
Quote:
if (j >= 0) { ... j--; } |
All times are GMT -4. The time now is 22:24. |