HTBasic Help
×
Menu
Index

OPTION BASE

Sets the default lower bound of array subscripts.
 
 OPTION BASE {0 | 1}
 
Usage:
OPTION BASE 0
OPTION BASE 1
 
Example: OPTION BASE.BAS
 
Description:
The default array subscript lower bound may be specified in each program context with the OPTION BASEstatement. It must appear in the program context before any COM, COMPLEX, DIM, INTEGER or REAL statements. There may be only one OPTION BASE statement in any program context. If there is no OPTION BASE statement, then the default lower bound is zero.
 
See Also: