C0005 Compiler Error
Message text
Condition for do loop must be a boolean.
Explanation
The following code generates C0005:
|
1 2 3 4 5 6 7 8 9 10 |
boolean lb_cond int li_a=1,li_b DO UNTIL li_b // generates C0005 li_a++ LOOP DO WHILE li_b // generates C0005 li_a++ LOOP |
The following code compiles without error:
|
1 2 3 4 5 6 7 8 9 10 |
boolean lb_cond int li_a=1,li_b DO UNTIL li_a = 100 li_a++ LOOP DO WHILE lb_cond li_a++ LOOP |
See Also
DO…LOOP in the section called “DO…LOOP” in PowerScript Reference.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest