Tandy 1000 Basic Reference Manual page 227

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
10 I
BASIC Keywords
OCT$
Function
OCT$( num ber)
Returns the octal value of
number.
OCT$
returns a string that represents the octal value of a deci-
mal
number.
The value returned is like any other string-it
can-
not be used in a numeric expression.
Examples
P R I N T O C T $ C 3 0 ) ,
O C T $ ( S 0 ) ,
O C T $ ( 9 0 )
prints the strings 36, 62, and 132.
Y $
=
O C T $ < X / 8 4 )
Y$ is a string representation of the integer quotient X/84 to base
8.
225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents