
129
List of BASIC Commands
Section 7-5
7-5
List of BASIC Commands
The following table lists all BASIC commands alphabetically and gives an out-
line for each. See
7-6 BASIC Commands
for further details on each com-
mand.
Square brackets ([ and ]) in the syntax column indicate items that can be omit-
ted. Normal brackets ({ and }) indicate items that can be repeated. (See
7-6
BASIC Commands
for further details on syntax.)
Command
Syntax
Details
Command
Statement
Function
Page
@IF
@IF <numeric expression>
THEN
<program>
ELSE
<program>
ENDIF
Selects either THEN and
the following characters,
or ELSE and the
following characters,
based on the results of a
numeric expression.
General
138
ABS
ABS (numeric expression)
Determines the absolute
value of the value given
by the argument.
Arithmetic
operation
139
ACOS
ACOS (numeric expression)
Determines the arc
cosine of the value given
by the argument.
Arithmetic
operation
139
ALARM ON/
OFF/STOP
ALARM ON or
ALARM OFF or
ALARM STOP
Enables, disables, or
stops a one-shot timer
(ON ALARM) interrupt.
General
140
ASC
ASC (character expression)
Determines the ASCII
code of the first character
of the character string
given by the argument.
Character
string
140
ASIN
ASIN (numeric expression)
Determines the arc sine
of the value given by the
argument.
Arithmetic
operation
141
ATN
ATN (numeric expression)
Determines the arc
tangent of the value given
by the argument.
Arithmetic
operation
141
AUTO
AUTO [line
number][increment]
Automatically generates
numbers at the beginning
of lines (if not specified,
increment = 10)
Command
141
BITOFF/BITON
BITOFF <integer variable>,
<bit position>
BITON <numeric variable>,
<bit position>
Turns OFF or ON bit
position (0 to 31) of
integer numeric
variables.
General
142
BRKPT
BRKPT [SET <line number>
or
BRKPT [DEL <line number>
or
BRKPT [DEL ALL]
BRKPT
Sets (SET), deletes
(DEL), and displays a list
of breakpoints when no
arguments are given.
Command
142
CDBL
CDBL (numeric expression)
Converts a value to a
double-precision value
real number.
Arithmetic
operation
143
CHR$
CHR$ (numeric expression)
Finds a character that
corresponds to the ASCII
code (integer) given by
the argument.
Character
string
143
CINT
CINT (numeric expression)
Rounds off and changes
into a short integer
Arithmetic
operation
144
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...