C200HBAT09 Omron, C200HBAT09 Datasheet - Page 53

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
LET Statement
LINE INPUT Statement
MID$ Statement
Purpose:
Format:
Example:
Remarks:
Notice the word LET is optional, i.e., the equal sign is sufficient when assign-
ing an expression to a variable name.
Assignment of a character variable to a numeric variable, and the reverse,
are not permitted.
When assigning unmatched types of numeric variables, the variable type on
the right side of the equal sign is converted into the type on the left before the
assignment is performed.
String assignments should be enclosed in double quotation marks.
Purpose:
Format:
Example:
Remarks:
All of the characters input from the end of the prompt to the carriage return
are assigned to the character variable as a series of data. (Commas and co-
lons are also treated as character data.)
A question mark is not displayed unless it is part of the prompt string.
The prompt statement is not displayed if a peripheral device other than
TERM or COMU is selected with the OPEN statement.
The character string is not assigned to the variable until the carriage return
key is pressed. Until then, the BASIC LED indicator on the ASCII Unit will
blink indicating that the Unit is waiting for input of a carriage return.
If the port number is omitted, port 1 is assumed as the default port.
Purpose:
Format:
100
200
210
110
PC READ “@D,0,1,14”;A
RETURN
PC WRITE “@D,0,1,14”;A
RETURN
To assign the value of an expression on the right side of an equal
sign to the variable on the left side
[LET] <variable>=<expression>
LET A = 1.2
To input an entire line of characters (up to 255) from the key-
board or other input device without the use of delimiters
LINE INPUT [#<port>,] [“<prompt>”;]<string>
<port> is the port number (1 or 2).
“<prompt>” is a message displayed on the screen prompting the
user for input.
<string> is a string variable that is assigned to the input charac-
ter string.
LINE INPUT #2,”DATE”;A$
To replace a portion of one string with another string
MID$(<string 1>,<n>[,<m>]) = <string 2>
<string 1> is a string variable.
<n> is an integer expression from 1 to 255.
Section 4-2
39

Related parts for C200HBAT09