Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 162
Advertising
![background image](/manuals/579953/162/background.png)
Chapter
Statements
11
11 -10
Use the END statement to terminate program execution. CONT (page
10 -3) does not operate if you use the END statement to terminate
execution. An
ERROR
: CAN’T CONTINUE
prints to the console.
Always include an END statement to properly terminate a program.
Syntax
END
Example
>1 REM EXAMPLE PROGRAM
>10 FOR I = 1 TO 4
>20 PRINT I,
>30 NEXT I
>40 END
READY
>RUN
1 2 3 4
END
Advertising