Omron C200H-ASC11 Manual page 235

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

Advertisement

Details of BASIC Commands
tron
Syntax:
TRON
Command. Turns ON the line number trace. If the
Description:
output to a trace buffer.
Remarks:
The
they are executed by the BASIC interpreter and in the time required to change line numbers. If the
option is specified output will be redirected to a 255 element circular trace buffer.
M
The trace buffer has a battery backup, so its contents are retained even if the power is turned OFF.
When necessary, the
terminal.
The line number trace facility can be turned OFF using the
If the ASCII Unit is reset or if the
automatically be turned OFF.
Examples:
> 10 TRON
> 20 FOR A = 1 TO 5
> 30 NEXT A
> 40 TROFF
> 50 FOR A = 1 TO 5
> 60 NEXT A
RUN
[20][30][20][30][20][30][20][30][20][30][20][40]
>
See also:
TRACE
val
Syntax:
VAL
Description:
Function. Converts a character string to a numerical expression.
Remarks:
<string expression> may be any character representation of a numeric value. If the character
representation does not represent a numeric value 0 will be returned.
All valid numeric expressions are acceptable, including hexadecimal, octal, single and double
precision floating point and exponential formatted numbers. Exponential formatted numbers must
be specified with an upper-case E or D.
Spaces in the numerical expression are ignored. The conversion will be terminated at the first
non-numerical character.
A value of 0 will be returned if the character string does not begin with a numeric character (+, -,
&, ., or a number). All numeric characters following a non-numeric character will be ignored.
Leading white space is stripped from the character representation before conversion.
> 10 A$ = "2"
Examples:
> 20 B$ = "3"
> 30 PRINT A$+B$
> 40 PRINT VAL(A$)+VAL(B$)
> RUN
23
5
>
See also:
STR
226
[
]
M
command activates a debugging tool that displays program line numbers in the order
TRON
TRACE
,
TROFF
(<string expression>)
$
M
command can be used to output the contents of the trace buffer to the
statement is executed then the line number trace will
NEW
option is specified the line numbers will be
statement.
TROFF
7-6
Section

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents