Omron C200H-ASC11 Manual page 223

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

Advertisement

Details of BASIC Commands
resume
Syntax:
RESUME
Statement. Resume program execution after an error handling operation.
Description:
<line number> is any valid line number in the BASIC program from which execution will resume.
Remarks:
The valid range is [0...65535].
If <line number> is omitted or set to 0, program execution will be continued at the statement that
caused the error.
If
NEXT
Examples:
> 10 B = 6
> 20 ON ERROR GOTO 80
> 30 FOR A = 1 TO 10
> 40 PRINT A, B, A/B
> 50 B = B-1
> 60 NEXT A
> 70 END
> 80 PRINT "ERROR HAS OCCURRED"
> 90 B = 5
> 100 RESUME
1
2
3
4
5
6
ERROR HAS OCCURRED
7
8
9
10
>
See also:
ERROR
right$
Syntax:
RIGHT
Description:
Function Returns the specified number of characters starting from the rightmost position in a
string expression.
Remarks:
<string expression> is the string to be searched.
<numerical expression> is the number of characters to be returned. The valid range is : [1...255].
If the number of characters to be returned is 0 then a null string is returned. If the number of
characters to be returned is greater than the number of characters in the search string then the
entire search string is returned.
> 10 A$ = RIGHT$("HELLO WORLD", 5)
Examples:
> 20 PRINT A$
> RUN
WORLD
See also:
LEFT
214
[(<line number> |
NEXT
is specified execution will resume at the line after the line that caused the error.
6
.166667
5
.4
4
.75
3
1.33333
2
2.5
1
6
5
1.4
4
2
3
3
2
5
,
ON ERROR
$ (<string expression>, < numerical expression>)
$,
$
MID
)]
7-6
Section

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents