Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOR loop re-evaluation
Message
From
24/01/2019 07:12:03
 
 
To
23/01/2019 12:20:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01665680
Message ID:
01665713
Views:
70
>As I understand it, the FOR loop's TO range is evaluated at the start of the expression, and then not re-evaluated. Is there any way to make it be re-evaluated (a SYS() function or other setting)? Or do I need to switch to a DO WHILE loop and manually increment my loop variable?

There's no way to change it. Use DO WHILE when you want a non-fixed termination.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform