User`s manual

3-6
? +##.##,12.12
+12.12
? "THE ANSWER IS "+##.##,-12.12
THE ANSWER IS -12.12
? ##,##+,12.12
12.12+
? "THE ANSWER IS ##.##+.",-12.12
THE ANSWER IS 12.12-.
? "THE ANSWER IS ##.##-.",12.12
THE ANSWER IS 12.12.
? ##.##-,-12.12
12.12-
? "**## IN TOTAL.",12.12
** 12 IN TOTAL.
? **##.##,1212.12
1212.12
? $$##.##,12.12
$12.12
? "##,####",12121.2
12,121
? "####,# IN TOTAL.",12121.2
12,121 IN TOTAL.
? "### IN TOTAL.",1212
% 1212 IN TOTAL.
Another way of using the PRINT USING statement is with the string field
specifiers "!" and
% spaces %.
Examples:
PRINT USING "I"; String
PRINT USING "% %"; string
The "!" sign will allow only the first letter of the string to be printed. The "%
spaces %"
allows spaces +2 characters to be printed. Again, the
string
and
specifier can be expressed as string variables. The following program will
demonstrate this feature:
10 INPUT A$, B$
20 PRINT USING A$; B$
30 GOTO 10
and RUN it:
? !, ABCDE
A
? %%, ABCDE
AB
? % %, ABCD
ABCD