$options Statement

The $options statement sets compatibility options for the FlashBASIC or BASIC compiler.

Syntax

$options {tag}

Parameter(s)

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 may 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 regards 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. Further compatibility changes may be made in the future to bring this setting closer to IN2 compatibility.

NOTE—Never use this setting for new development.

INFORMATION

Prime Information. Currently the same as EXT. Further compatibility changes may be made in the future to bring this setting closer to Prime Information compatibility.

NOTE—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. Future development may make minor changes to allow slightly better run-time R83 compatibility.

NOTE—Never use this option for new development.

REALITY

Currently the same as EXT. Further compatibility changes may be made in the future to bring this setting closer to Reality compatibility.

NOTE—Never use this setting for new development.

It is suggested to use the $options statement at the top of the desired modules.

It is illegal to use the $options statement multiple times within the same source item. Also, any statements displaying on the same line after the $options statement, are ignored.

Description

The $options statement allows the use of new statements and functions as well as closer functional compatibility with other versions of Pick.

Example(s)

$options ext

x="abc"

print ereplace(x,"a","b")

"bbc"

See Also

@ Shell Variable

compare Statement

convert() Function

dquote() Function

exchange() Function

fmt() Function

ifr Statement

inmat() Function

maximum() Function

minimum() Function

remove Statement

scan() Function

set Command

squote() Function

status() Function

summation() Function

swap() Function

trimb() Function

trimf() Function