EasyManua.ls Logo

AMSTRAD CPC464 - Page 184

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PRINT (continued...)
PRINT USING “<Format Field Specifiers>
NUMERIC
Specifier Possible
Digits
Field
Characters
Definition Example
#
1 1
Numeric field ####
.
0 1
Decimal Point #.#
+
0 1
Print leading or
trailing sign
Positive number will
have +
+##
###+
-
0 1
Trailing sign. Prints
if negative,
otherwise blank
##.##-
**
2 2
Leading asterisk **###.##
$$
1 2
Floating dollar sign $
is placed in front of
the leading digit
$$##.##
**$
2 3
Asterisk fill and
floating dollar sign
**$#.##
,
1 1
Use comma every
three digits (left of
decimal point only.)
##,###,#
^^^^
0 4
Exponential format.
Number is aligned so
leading digit is zero.
#,##^^^^
STRING
!
First character only !
\<spaces>\
Number of spaces specified,
plus a leading and trailing
space character field
\ \
&
Variable length field
&

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals