31
AUTO Directive
Automatic Line Generation
Format
AUTO [lineno[,incr]]
Where:
incr
Increment you want ProvideX to add automatically to generate each
subsequent line number. Default increment is 10; however, you can set a
lineno
Starting program line number you want ProvideX to use. Optional.
Description
Use the AUTO directive to have ProvideX automatically generate line numbers to
prefix your statement input.
Note: This directive only works in Command mode.
If you omit the starting line number in this directive, then ProvideX uses either the
last generated line number (if any), or the next higher line in the current program. If
you do not specify an increment, the default is 10. If you change the increment in
Command mode, it stays at the new setting until you change it again.
The AUTO function remains active until you enter a null line (e.g., press Enter ) or
execute a command. You can backspace over and change the generated line number.
Examples
->AUTO 100,10
0100 ! ProvideX generates lineno 0100 for you. Add the statement.
0110 ! ProvideX adds 10, generates line 0110.
0120