
7-6
Section
Details of BASIC Commands
147
cont
Syntax:
CONT
Description:
Command. Resumes execution of the BASIC program after
CTRL
+
X
, after execution of
END
,
STEP
or
STOP
statements, after encountering a breakpoint or after the occurrence of an error.
Remarks:
Execution of the BASIC program resumes at the point after the break occurred. If the program has
been changed or if the break occurs during data transfer with an external device then the BASIC
program cannot be resumed. If there is a break during the execution of an interrupt program, the
program cannot be resumed using the
CONT
command. When the BASIC program cannot be
resumed, a “CANNOT CONTINUE” error message (code B017) will result.
Examples:
CONT
See also:
STEP
,
STOP
,
END
,
BRKPT
cos
Syntax:
COS
(<numerical expression>)
Description:
Function. Calculates the cosine of a numerical expression.
<numerical expression> may be any integer, single-precision floating point or double-precision
floating point.
The return type is single-precision floating point if the argument is of type integer or single-
precision floating point. If the argument is of type double-precision floating point then the return
type is also double precision floating point.
The return value will be in the range [-1, 1].
Remarks:
Note:
1.
The argument should be specified in radians.
Examples:
> 10 A = 0.4
> 20 PRINT COS(A)
> RUN
.921061
See also:
SIN
,
TAN
csng
Syntax:
CSNG
(<numerical expression>)
Description:
Function. Converts a numerical expression into a single-precision floating point.
Remarks:
<numerical expression> may be any integer, single-precision floating point or double-precision
floating-point expression.
If the <numerical expression> is an integer or double-precision floating-point type then
CSNG
will
convert it to a single-precision floating-point type. If the <numerical expression> is already a
single-precision floating point then the precision of the returned value will be the same as it was
before conversion.
Examples:
> 10 A# = 1.23456789
> 20 A! = A#
> 30 B! = CSNG(A#)
> 40 PRINT A#, A!, B!
> RUN
1.23456789
1.23457
1.23457
See also:
CDBL
,
CINT
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...