C200HBAT09 Omron, C200HBAT09 Datasheet - Page 49

no-image

C200HBAT09

Manufacturer Part Number
C200HBAT09
Description
C200H REPLACEMENT BATTERY
Manufacturer
Omron
Datasheet

Specifications of C200HBAT09

Rohs Compliant
NO
Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
BASIC Language
END Statement
ERROR Statement
FOR and NEXT Statements
Example:
Remarks:
If an array variable name is used without a DIM statement, the maximum val-
ue of the array’s subscript(s) is assumed to be 10. If a subscript is used that
is greater than the maximum specified, an error will occur. The minimum val-
ue for a subscript is zero.
The DIM statement initializes all the elements of numeric arrays to zero.
String array elements are initialized to NULL.
Purpose:
Format:
Remarks:
END statements may be placed anywhere in the program to terminate ex-
ecution. Unlike the STOP statement, END closes all open files or devices. An
END statement at the end of the program is optional. BASIC always returns
to command level after an END is executed.
Purpose:
Format:
Remarks:
Error code numbers 1 to 255 are predefined and reserved by BASIC. Higher
numbers can be used for user-defined error code messages. User-defined
error codes can be used together with the ON ERROR GOTO statement to
branch the program to an error handling routine.
When the ERROR statement is executed without an accompanying ON ER-
ROR GOTO statement, the error message corresponding to the specified
error number is output and program execution is stopped. The message UN-
DEFINED ERROR is displayed if an undefined error occurs.
The error number is assigned to the variable ERR and the line number where
the error occurred is assigned to the variable ERL.
Purpose:
Format:
Example:
Remarks:
<subscripts> are the maximum number of elements for each di-
mension of the array. There can be up to 255 subscripts but the
maximum size of the array cannot exceed the amount of memory
available.
DIM A (10,20), B$(30)
To terminate program execution, close all files, and return to
command level
END
To simulate the occurrence of an error, or to allow error codes to
be defined by the user
ERROR <n>
<n> is the error code to be simulated.
To allow a series of instructions to be performed in a loop a given
number of times
For <var>=<x> TO <y> [STEP<z>]
<x>, <y>, and <z> are numeric expressions.
100 FOR Y = base TO 10 STEP 2
110 NEXT Y
Section 4-2
35

Related parts for C200HBAT09