AUTO Verb - Automatic Program Line Numbering
Syntax
AUTO {lineno{,increment}}
Description
The AUTO verb starts automatic line numbering (AUTO) mode, which prompts the user with a line number.
Parameter |
Description |
---|---|
lineno |
Starting line number for AUTO mode. The default is 10. |
increment |
Line number increment. The default is 10. |
To exit AUTO mode, press return without entering anything.
AUTO mode does not allow replacement or interleaving of existing program
lines and issues an !ERROR=21. AUTO
continues until such a condition exists, and PRO/5 exits AUTO mode.
A program line containing an error cannot cause an exit from AUTO mode.
To correct a line, either exit AUTO mode and correct the error, or continue
and return to it later.
Examples
>AUTO 1000
>1000 FOR X=1 TO 20
>1010 PRINT A[X]
>1020 NEXT X
>1030