Omron C200H-ASC11 Manual page 152

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Details of BASIC Commands
bitoff/biton
Syntax:
BITOFF
BITON
Description:
Statement. turns ON (1) or OFF (0) the specified bit of an integer variable.
Remarks:
<bit position> is an integer expression returning a value in the range: [0...31].
Note:
Examples:
> 10 N% = 182
> 20 PRINT N%
> 30 BITON N%,3
> 40 PRINT N%
> 50 BITOFF N%,5
> 60 PRINT N%
> RUN
182
190
158
See also:
brkpt
Syntax:
BRKPT
Command. Sets, deletes or lists breakpoints in the BASIC debugger.
Description:
<line number> is any valid line in the BASIC program. Valid range: [1...65535].
Remarks:
SET
DEL
If the
line number is specified that does not exist, then an "Undefined Line Number" error (code B008)
will occur. A maximum of 255 breakpoints can be set at any given time.
On reaching a program line that has a breakpoint set the execution will stop before executing that
line.
If BRKPT SET ALL is executed, a "NO SUPPORT" error will occur.
The setting of the maximum of 255 breakpoints may not be possible if there is insufficient free
space in the memory area. A breakpoint can be set while executing an interrupt program to stop
the program, but the program cannot be restarted from the location of the breakpoint.
> BRKPT SET 200
Examples:
See also:
CONT
<integer variable> , <bit position>
<integer variable> , <bit position>
1. A <bit position> of zero specifies the least significant bit.
2. A value in the range [0...15] can be used for an integer <bit position> and a value in
the range [0...31] can be used for a long integer <bit position>.
[(
|
)] (<line number> |
SET
DEL
sets a breakpoint at the specified <line number>.
deletes the breakpoint from the specified <line number>.
command is used without
BRKPT
,
,
,
STEP
STOP
END
)
ALL
or
, it lists all the currently set breakpoints. If a
SET
DELETE
7-6
Section
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents