AMSTRAD CPC464 User Manual page 184

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

PRINT (continued...)
PRINT USING
NUMERIC
Specifier
Possible
Digits
#
1
.
0
+
0
-
0
**
2
$$
1
**$
2
,
1
^^^^
0
STRING
!
\< s p a c e s >\
&
" < F o r m a t F i e l d S p e c i f i e r s > "
Field
Definition
Characters
Numeric field
1
Decimal Point
1
1
Print leading or
trailing sign
Positive number will
have +
1
Trailing sign. Prints –
if negative,
otherwise blank
Leading asterisk
2
2
Floating dollar sign $
is placed in front of
the leading digit
Asterisk
3
floating dollar sign
Use
1
three digits (left of
decimal point only.)
4
Exponential format.
Number is aligned so
leading digit is zero.
First character only
Number of spaces specified,
plus a leading and trailing
space character field
Variable length field
Example
####
#.#
+##
###+
##. ## -
* * # # # . # #
$ $ # # . # #
* * $ # . # #
fill
and
# # , # # # , #
comma
every
# , # # ^ ^ ^ ^
!
\
\
&

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents