C0056 Compiler Error
Message text
Illegal for loop initializer expression type: type.
Explanation
You cannot use a non-numeric datatype in an expression in a FOR
loop. . The following script generates C0056:
|
1 2 3 4 5 6 7 |
char lc_ch = 'a' int li_num for li_num = lc_ch to 3 // generates C0056: Illegal for // loop initializer expression // type: character ... next |
See Also
FOR…NEXT in the section called “FOR…NEXT” in PowerScript Reference.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest