
130
List of BASIC Commands
Section 7-5
CLEAR
CLEAR
Initializes numeric and
character variables and
closes all ports.
General
144
CLNG
CLNG (numeric expression)
Converts a value to a
long integer.
Arithmetic
operation
144
CLOSE
CLOSE [#port number]
Closes a port.
Device
control
145
CLS
CLS [#port number]
Clears the screen.
Device
control
145
COM ON/OFF/
STOP
COM [port number] ON or
COM [port number] OFF or
COM [port number] STOP
Enables, disables, or
stops a communication
interrupt (ON COM).
General
145
CONT
CONT
Resumes execution of a
program that has
stopped.
Command
146
COS
COS (numeric expression)
Determines the cosine of
the value given by the
argument.
Arithmetic
operation
146
CSNG
CSNG (numeric expression)
Converts to single-
precision real number.
Arithmetic
operation
146
CTS
CTS (port number)
Reads CS signal status.
Special
147
DATA
DATA [Constant{,constant}]
Defines the numeric and
character constants
assigned using the READ
command.
General
147
DATE$
DATE$ [=“YY/MM/DD”]
Sets or gives date.
Special
147
DAY
DAY [=numeric expression]
Sets or gives day.
Special
148
DEF FN
DEF FN Name
[(argument[,argument,...])]=
expression
Defines a BASIC function
written by the user.
General
148
DEFINT/
DEFLNG/
DEFSNG/
DEFDBL/
DEFSTR
DEFINT character [–
character]{character [–
character]} or
DEFLNG character [–
character]{character [–
character]} or
DEFSNG character [–
character]{character [–
character]} or
DEFDBL character [–
character]{character [–
character]} or
DEFSTR character [–
character]{character [–
character]}
Declares variable types
as integer, long integer,
single-precision, double-
precision or character.
General
149
DEL
DEL [line number 1] [–[line
number 2]]
Deletes part of the
program line.
Command
149
DIM
DIM variable name
(maximum subscript)
{maximum
subscript}){variable
name(maximum
subscript{maximum
subscript})}
Specifies the array
variable dimensions and
the maximum value for
the subscript. For
character string
variables, the maximum
number of characters can
be specified.
General
150
DMA
DMA (port number)
Determines transmitting/
not transmitting for DMA
data transmission.
Special
151
Command
Syntax
Details
Command
Statement
Function
Page
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...