Commodore 128 System Manual page 302

Hide thumbs Also See for 128:
Table of Contents

Advertisement

When this is RUN, line 10 prints:
$13.25 $32.00
Line 20 prints this:
CBM
CAT
Leaves two spaces before printing the string as defined in format
list
Line 30 prints this:
*
*
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
$ * * * * *
Five asterisks ( * * * * * ) are printed
instead of a Y value because Y has five
digits which does not conform to format
list (as explained above).
CAT
COMPUTER
*
$ 2 3 . 0 0 *
* $ 1 0 0 . 2 3 *

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents