Control-c, Control-c -4, Example – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 44: Purpose, Syntax
Advertising
Publication 1746-RM001A-US-P
4-4 BASIC Commands
Example
>NEW
>1
REM EXAMPLE PROGRAM
>10 FOR I = 1 TO 10000
>20 PRINT I
>30 NEXT I
>40 END
READY
>RUN
1
2
3
4
5
6
7
8
9
10 [CTRL-C]
pressed
STOP - IN LINE 15
READY
>CONT
20
21
22
Control-C
Purpose
Use the
[CTRL-C]
command to stop execution of the current program and return
the module to the Command mode. In some cases you can continue execution of
the program using a CONTinue. See the explanation for CONTinue for more
information.
Syntax
[CTRL-C]
Example
>1
REM EXAMPLE PROGRAM
>10 FOR I = 1 TO 10000
IMPORTANT
[CTRL-C]
clears all input and output buffers.
Advertising