Step: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
<noinclude> | <noinclude> | ||
[[Category: Disambiguation]] | [[Category: Disambiguation]] | ||
[[Category:All Parameters]] | |||
</noinclude> | </noinclude> |
Revision as of 21:12, 30 July 2013
The keyword Step is used in conjunction with various other Business Rules! keywords.
With GO, step directs BR to pause before executing each program statement that causes an action. A line number field in the status line tells you the number of the line to be executed next. When you press <Enter>, that line is executed and the next line number appears. This option can be helpful when you are debugging a program, as it allows you to follow the flow of the program closely.
The command RUN STEP NORESTORE suppresses the restoration of the screen after the initial restoration.
The command RUN STEP RESTORE causes the application screen to be refreshed before processing each execution step. GO RUN does not reset the NORESTORE option.
With FOR, the step parameter specifies the amount by which the numeric variable should increment after each loop. It may be either a negative or a positive value. When the value of the STEP num-expr is zero, the loop continues indefinitely -unless a statement within the loop causes the num-var to exceed the specified final value
See also: