NAME

option base - set the minimum value for array

SYNOPSIS

option base N

DESCRIPTION

The default base is 0.  Option base may be used to change the base to 1.  N is a constant expression which is any numeric expression consisting of constants and operators except for function calls and exponentiation. 

The option base statement must appear before any arrays are defined or used. 

EXAMPLE

The statement
	option base 1
changes the minimum array subscript value to 1. 

SEE ALSO

dim

from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber