Commodore 2001-8 User Manual page 35

Table of Contents

Advertisement

USR
The USR is a function which is designed to pass a parameter to a lanuage program using the jump
address located at memory location one and two in the PET. See the section on machine language
programming for a detailed description and use of this function.
FRE
This function tells you how many bytes are teft in memory. Although
it
is a true function since
it
can be
used in an expression, it is normally used in direct mode in the form:
?FRE(O)
FRE forces a BASIC action called garbage collection. This consolidates all unused bytes into one large
block so that they can be efficiently allocated.
Several functions exist to aid in formatting data when
it
is printed on the screen or hardcopy printer.
TAB
This format function places the cursor at the column specified in the argument. The argument goes
through the INT routine. The legal range is (}I;;;X",,255. If the cursor is past the location specified, the tab is
ignored. Note: TAB uses skip characters, not spaces.
pas
This function returns the position of the cursor. The position is reset to zero at each carriage return.
Note: HOME and CLEAR do not affect POS even though the cursor is set to the first column.
SPC
This format function prints out the number of skips specified in the argument (which goes through INT).
Legal range is (}I;;; X"" 255. Note: SPC(O) put 256 skips.
NOTES
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pet 2001-8

Table of Contents