Cont, Cont -3, Purpose – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 43: Syntax

Advertising
background image

Publication 1746-RM001A-US-P

BASIC Commands 4-3

STOP - IN LINE 160

READY

>PRINT D,SU,AV

.86042573 0 0

>D = .5

>PRINT D,SU,AV

.5 0 0

>CONT

THE AVERAGE VALUE IS .48060383

READY

>

CONT

Purpose

Use the CONT command to resume execution of a program stopped by a

[CTRL-C]

, BRKPNT command, or a STOP statement. If you stop a program by

pressing

[CTRL-C]

on the console device or by execution of a STOP statement,

you can resume execution of the program by typing CONT. If you press

[CTRL-C]

while

[CTRL-C]

is enabled, it stops the program. Use CONT to continue. Between

the stopping and the re-starting of the program you may display the values of
variables or change the values of variables. However, you cannot CONTinue if the
program is modified during the STOP or after an error.

Syntax

CONT

IMPORTANT

[CTRL-C]

clears all input and output buffers.

Advertising