AT&T 6300 Programmer's Manual page 419

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

%
PRINT USING
Statement
PRINT USING
1'##.## MM
";234.56
2.35E+02
PRINT USING
U.####MM -
";888888
.8889E+06
PRINT USING
I '
+.##MMU;123
+.12E+03
An underscore in the format string causes the
next character to be output as a literal
character. For example:
PRINT USING
U_! ##.##
_!";12.34
!12.34!
The literal character itself may be an
underscore by placing "_" in the format
string.
If the number to be printed is larger than the
specified numeric field, a percent sign is
printed in front of the number. If rounding
causes the number to exceed the field, a
percent sign will be printed in front of the
rounded number. For example:
PRINT USING u##.##";111.22
%111.22
PRINT USING 1'.##";.999
%1.00
If the number of digits specified exceeds
24,
an
"Illegal function call" error will result.
7-263

Advertisement

Table of Contents
loading

Table of Contents