The $options directive sets compatibility options for the FlashBASIC or BASIC compiler.
$options {tag}
AP | Provides code compatibility with previous releases (provided new features are not used). |
DEFAULT | Extended. Provides as many statements and functions as are available. This is the default
setting and is the same as EXT.
Use as the new development default setting. |
EXT | Extended. Provides as many statements and functions as are available. This is the default
setting and is the same as
DEFAULT. Use as the new development default setting. Because many new functions are allowed, array references in existing code might need to be changed to some other name for proper compilation. |
GA | General Automation. Similar to the EXT option, but provides tighter
GA compatibility with regard to
the locate and
match statements. Note: It is
suggested not to use this mode for new
development, as this setting disallows any
functions not provided by General Automation
Pick.
|
IN2 | Currently the same as EXT.
CAUTION: Never use this setting for new
development.
|
INFORMATION | Prime Information. Currently the same as EXT.
CAUTION: Never use this setting for new
development.
|
mvBase | Provides the same features as
EXT, but supports the mvBase
syntax for the ifr and
input statements. Additionally, supports the timeout, nxtkey, and prvkey statements. CAUTION: Never use this setting for new
development.
|
PICK | Pick System’s R83. Same as R83. |
R83 | Pick System’s R83. Currently the same as AP.
CAUTION: Never use this setting for new
development.
|
REALITY | Currently the same as EXT.
CAUTION: Never use this setting for new
development.
|
$options ext x="abc" print ereplace(x,"a","b") "bbc"
@ shell variable, compare statement, Compiler directives, convert() function, dquote() function, exchange() function, fmt() function, ifr statement, inmat() function, input statement, maximum() function, minimum() function, nxtkey statement, prvkey statement, remove statement, scan() function, set command, squote() function, status() function, summation() function, swap() function, timeout statement, trimb() function, trimf() function