AT&T 6300 Programmer's Manual page 362

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

OCT$
Function
Syntax
numexp
Remarks
Example
7-206
Returns a string which is the octal value of the
decimal argument.
OCT$(numexp)
is a numeric expression from -32768 to 65535, which is
rounded to the nearest integer before OCT$ is evaluated.
When "numexp" is negative, the two's
complement form is used.
PRINT OCTS(24) 30
Ok
See the HEX$ function in this chapter for
details on hexadecimal conversion.

Advertisement

Table of Contents
loading

Table of Contents