C200HBAT09 Omron, C200HBAT09 Datasheet - Page 51

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
GOTO Statement
IF...THEN Statement
INPUT Statement
Purpose:
Format:
Remarks:
If <line> is a non-executable statement, execution will proceed at the first
executable statement encountered after <line>.
Purpose:
Format:
Example:
Remarks:
If the result of <expression> is not zero, the THEN or GOTO clause will be
executed (GOTO is always followed by a line number). THEN may be fol-
lowed by either a line number for branching or one or more statements to be
executed.
If the result of <expression> is zero, the THEN or GOTO clause will be ig-
nored and the ELSE clause, if present, will be executed. IF there is no ELSE
clause, execution will continue with the next executable statement.
Purpose:
Format:
Examples: INPUT “DATA” : A$
Remarks:
When an INPUT statement is executed, program execution pauses and a
question mark is displayed to indicate the program is waiting for data. If
<“prompt”> is included, the string is displayed before the question mark. The
program will not continue execution until the user has entered the required
data.
100
120
130
110
90
GOTO 150
T = T + TIME
RETURN
{stuff}
To unconditionally branch program execution to the specified line
number
GOTO <line>
<line> is a valid line number.
To control program flow based on the results returned by an
arithmetic or logical expression
IF <expression> [ , ] THEN <statement(s)> or <line>
[ELSE <statement(s)> or <line>]
IF <expression> [ , ] GOTO <line>
[[ , ] ELSE <statement(s)> or <line>]
IF B=10 THEN PRINT “hello” ELSE 500
To allow input from the keyboard during program execution
INPUT [;] [#<port>][<“prompt”>;]<variable>
[,<variable>]...
#<port> is the port number (1 or 2).
<“prompt”> is a message that will be displayed when the INPUT
statement is executed.
INPUT #2, “DATA” , A$, B$
Section 4-2
37

Related parts for C200HBAT09