Purpose |
Convert an integral value to an octal
|
Syntax |
s$ = OCT$(IntVal [, Digits, LeadSpaces, TrailSpaces]) |
Remarks |
IntVal is a
If Digits is 0 (or not given), no leading characters will be added to the numeric field. If Digits is a positive number greater than 0, the result string will be prepended with leading zeros to achieve the desired length. If Digits is a negative number, leading spaces are added to reach the absolute length. Digits may be in the range of -22 to +22. LeadSpaces specifies additional leading spaces to be prepended, regardless of the length of the numeric portion of the string. TrailSpaces specifies additional trailing spaces to be appended to the end of the string. |
See also |