OCT$ function

Purpose: OCT$ converts an integer to an octal string.


 Syntax:

 RetStr$ = OCT$(Integer%)

 Parameters:

  • RetStr$ Returned string containing octal representation of Integer% parameter.
  • Integer% Integer to be converted to octal.

Example:


 RetStr$ = OCT$(65535)

Result:

RetStr$ will equal "177777"