OPTION BASE

Previous  Next

 

OPTION BASE 0/1

OPTION BASE $LIBRARY

 


 

The first version defines if array indexes start at 0 (default) or 1.  The second version will direct MyBASIC2 to install Extension libraries at the topmost (base) level instead of current sub level.  This is useful if an Extension Library is used in multiple script files since it will prevent the library to be loaded and unloaded every time it's being used and thus optimizing the execution of the MyBASIC2 code.

 

Example:

 

OPTION BASE 1