Superbase.AutoCreateVariables
This is a boolean property of the Superbase object. When
TRUE Superbase will automatically create program variables
which are used before being declared. If Superbase.AutoCreateVariables
is FALSE then the use of a variable before its creation raises
an error. This restriction does not apply to variables which
are created because they are on a form which is opened, but
there could be some ambiguity in some situations as to whether
a variable is just a program variable, or whether it is also
part of a form.
Note: When Superbase.AutoCreateVariables is FALSE then a
user-defined function can only be called if a variable of
the same name has already been created and is in scope. This
is because calling a user-defined function for the first time
will create such a variable if none exists, and this is forbidden
if Superbase.AutoCreateVariables is FALSE.
|