Option Default (statement)
Syntax |
Option Default type
|
Description | Sets the default data type of variables and function return values when not otherwise specified. |
Comments | By default, the type of implicitly defined variables and function return values is Variant. This statement is used for backward compatibility with earlier versions of BasicScript where the default data type was Integer. This statement must appear outside the scope of all functions and subroutines. Currently, type can only be set to Integer. |
Example |
|
See Also | DefType (statement) |