This statement turns on VB compatibility mode for the script. See MaxBasic VB Compatibility.
Syntax
Option VBCompatibility
The mode applies to the statements after this line, so put the statement at the start of the script.
No form of the statement turns the mode off.
To make VB compatibility mode the default for every script, select MaxBasic VB compatibility on System Settings - General tab. When it is selected, this statement changes nothing.
Example
Option VBCompatibility
Dim x, y, z As Integer
x, y and z are all declared as Number.