The following NL statement does the same thing as pressing the ¿ (Enter) key on your keyboard:
NL 1
The NL statement moves the cursor down one line and positions it in the line's first input field. If you had used the DOWN statement, as in HELLO2, the program would display each line immediately below the last character in the previous line. (To see HELLO2, see A Program That Greets You by User ID).
This would result in the following error message
-KEY-OPERATION ENCOUNTERED AN OUT-OF- RANGE CONDITION
The error message indicates that the output would not fit in the input field.
|
Copyright © 2013 CA.
All rights reserved.
|
|