Config break – Remote Processing CAMBASIC User Manual

Page 177

Advertising
background image

CON FIG C ommands - 4

CONFIG BREAK

Statement

SYNTAX:

CONF IG BREAK com port,m ode

PURPOSE:

To enab le or disable response to a break charac ter on a co mmu nications por t.

REMARK S:

In normal operation an < ESC> to COM1 while the program is running will stop program
execution. The same is true for

$

C in an IN PUT statement.

This response is disabled with CONFIG BREAK.

The com port parameter is 1 or 2.

The mode parameter tells the system whether or not to suppress break. A “ 0” will allow normal
break oper ation. A “1” will suppress the bre ak character s.

RELATED:

none

EXAMPLE:

10 CONFIG BREAK 1,1

Suppress break on channel 1.

ERROR:

<

Data negative

>

– for com port and m ode

Advertising