EasyManua.ls Logo

Commodore 128 - Page 348

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...
PRINT SQR(25)
5
STRS
Return string representation of number
STR$ (X)
This function returns the STRing representation of the numeric
value of the argument X. When the STR$ value is converted, any
number displayed is preceded and followed by a space except
for negative numbers which are preceded by a minus sign. The
counterpart of the STR$ function is the VAL function.
EXAMPLE:
PRINT STR$(123.45)
123.45
PRINT STR$(-89.03)
-89.03
PRINT STR$(1E20)
1E+20
TAB
Moves cursor to tab position in present statement
TAB (X)
This function moves the cursor forward if possible to a relative
position on the text screen given by the argument X, starting with
the left-most position of the current line. The value of the
argument can range from 0 to 255. If the current print position is
already beyond position X, the TAB command is ignored. The
TAB function should only be used with the PRINT statement,
since it has varied effects if used with the PRINT# to a logical file
depending on the device being used.
EXAMPLE:
10 PRINTCOMMODORETAB(25)128
COMMODORE 128
EXAMPLE:
18-20

Table of Contents

Other manuals for Commodore 128

Related product manuals