Small company logo:
   History
 
Advertising banner:
 
 Option
Home • Help • Customization Tools • FCAS • Language Reference • Option
 
Purpose
Sets BASIC interpreter options for this application.
Syntax
Option Base Index


Base
Base is the only option available at this time.
Specifies the default index for the first element of arrays with default lower bounds declared with Dim.
Option Base must be called from the Declarations procedure of a code module, and can only be called once per application.
Index
0 or 1. 0 is the default.

Example
Option Base 0
...
Dim MyArray(10) As Integer      'creates a 10-element array indexed from 0 to 9

Option Base 1
...
Dim MyArray(10) As Integer      'creates a 10-element array indexed from 1 to 10