C0171 Compiler Warning
Message text
FOR statement end value out of range for iterator variable. Use type
for the type of the iterator variable.
Explanation
The end value for the iterator in a FOR loop must be within the
range defined for the datatype:
|
1 2 3 4 5 6 7 |
int li_a, li_b for li_a = li_b to 2147483648 // generates C0171 next for li_a = li_b to 2147483647 // ok next |
See Also
Standard datatypes in the section called “Standard datatypes” in PowerScript Reference.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest