EasyManua.ls Logo

Commodore 128 - Page 302

Commodore 128
448 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...
When this is RUN, line 10 prints:
$13.25 $32.00 $ *** ** Five asterisks (**** *) are printed
instead of a Y value because Y has five
digits which does not conform to format
list (as explained above).
Line 20 prints this:
CBM CAT
Leaves two spaces before printing the string as defined in format
list
Line 30 prints this:
* CAT * $23.00 *
* COMPUTER * $100.23 *
PUDEF
Redefine symbols in PRINT USING statements
PUDEF nnnn
Where "nnnn is any combination of characters, up to four in all,
PUDEF allows you to redefine any of the following four symbols in
the PRINT USING statement: blanks, commas, decimal points
and dollar signs. These four symbols can be changed into some
other character by placing the new character in the correct
position in the PUDEF control string.
Position 1 is the filler character. The default is a blank. Place a
new character here for another character to appear in place of
blanks.
Position 2 is the comma character. Default is a comma.
Position 3 is the decimal point. Default is a decimal point.
Position 4 is the dollar sign. Default is a dollar sign.
EXAMPLES:
10 PUDEF * PRINTs * in the place of blanks.
20 PUDEF < PRINTs < in the place of commas.
17-60

Table of Contents

Other manuals for Commodore 128

Related product manuals