3.199 EDH0162En1040 – 06/99
MM4005 YV — Read value from keyboard in a variable
Usage IMM PGM MIP
Syntax xxYVmessage
Paramètres
Description xx
[int] — Variable number.
message — Prompt message.
Value xx — 1 to 100 (integers) and 101 to 120 (floats).
message — 1 to 15 characters.
Units xx — None.
message — None.
Defaults xx Missing: Error O.
Out of range: Error O.
Floating point: Error A.
message
Out of range: 15 characters.
Description This command read a value from the keyboard and places it in the variable
xx. If xx = from 1 to 100, the value is entered as an integer. Else if xx = from
100 to 120, the value is entered as a float.
If message exists, message is displayed in the value line, else the message
Y[xx] = takes place. The length of message should not bigger 15 characters,
otherwise message will be truncated.
Returns None.
Errors A — Unknown message code.
O — Variable number out of range.
Rel. Commands TY — Read a variable.
YK — Read key to variable.
YW — Wait and read key.
Example
5YVValue is: | Enter a value in the variable #5.
3EX | Execute the program #3.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com