Installation guide
Programming Commands 143
PRINT USING continued
The following example illustrates how the format string is proc-
essed.
Example:
PRINT USING#1,"Numbers are +###.## ### 0##",100.54,"mv",
999,"cnts" ,54," is limit"
The "Numbers are " is extracted from the string and sent via serial
port. The "+###.##" is extracted from the string as the data format,
which results in "+100.54" being sent via serial port. The string "mv" is
sent via serial port. The " " is extracted from the string and sent via se-
rial port. The "###" is extracted from the string as the data format,
which results in "999" being sent via serial port. The string "cnts" is sent
via serial port. The " " is extracted from the string and sent via serial
port. The "0##" is extracted from the string as the data format, which
results in "054" being sent via serial port. The string " is limit" is sent via
serial port. A crlf is appended and sent via serial port.
Resulting string:
Numbers are +100.54mv 999cnts 054 is limit<cr><lf>
EXAMPLES: accel(1)=10000
A$=≅accel(1)= 000000"
PRINT USING #1, Αaccel(1)= 000000", accel(1)
accel(1)= 010000 crlf printed
PRINT USING #1, A$, accel(1)
accel(1)= 010000 crlf printed
End
PRINT USING #1, Α +####≅, 1234.6, 234
+1235 + 234 cr lf printed
PRINT USING #1, Α +0000≅, 1234.6, 234
+1235 +0234 cr lf printed
PRINT USING #1, Α +####.###≅, 1234.6, 234
+1234.6 + 234. cr lf printed
PRINT USING #1, Α +0000.000≅, 1234.6, 234
+1234.600 +0234.000 cr lf printed
PRINT USING #1, Α ###+.000", 23.45, 22.3515
+23.450 +22.352 cr lf printed










