LOTUSSCRIPT LANGUAGE


Oct function
Example

Returns the octal representation of a number as a string.

Syntax

Oct[$] ( numExpr )

Elements

numExpr


Return value

Oct returns a Variant of DataType 8 (String), and Oct$ returns a String.

Return values will only include the numerals 0 to 7, inclusive. The maximum length of the return value is 11 characters.

Usage

If the data type of numExpr is not Integer or Long, then LotusScript attempts to convert it to a Long. If it cannot be converted, a type mismatch error occurs.

Example
See Also