Subscript out of range
When accessing an array, either the number of subscripts
does not match the given array's defined dimensions, or the size of
one or more subscripts does not match the given array's bounds.
Expression out of range
You used a numeric expression whose value at run time is
out of the legal range, in one of these contexts:
Bad DLL calling convention
You are using a C-callout function to call a DLL entry
point with a different calling convention than the one used to implement
the DLL entry point.
Bad file name or number
You tried to access a file that does not exist, or you
specified a file number that is currently not assigned to a file.
For example, using Print # to print to a file that has not first been
opened generates this error.
File not found
You referred to a file that cannot be found.
Bad record number
You tried to read from a file using a record number that
is either invalid (negative) or out-of-bounds (larger than the number
of records in the file).
Bad file name
You specified a file using an invalid DOS file name.
Too many files
You have too many files open in LotusScript.
Operation not supported on this platform
You tried to use a LotusScript function,
statement, or directive that your operating system does not support.
For example, the CreateObject statement is not supported under OS/2
or UNIX.
Type suffix does not match actual data type
You referred to a variable, constant, function, or property
with a data type suffix character that does not match its declared
data type. For example:
Variant does not contain an object
You referred to a variable of type Variant as though it
contained an object reference, but no such reference has been assigned
to it. For example:
Variant does not contain a container
You referred to a variable of type Variant as though it
held an array or list, but it does not hold one of these. For example:
Wrong number of arguments for method
You called a function or sub that is a member of a user-defined
class and passed it either too few or too many arguments. For example:
Name used as a method is not a method
You referred to something as though it were a member function
or sub of a class when no such function or sub has been defined for
that class. For example:
Illegal use of sub
You defined a sub as a member of a class and then referred
to that sub as though it were a member function, property, or variable.
For example:
Illegal use of function
You defined a function as a member of a class and specified
its return type as something other than Variant or object reference.
You then referred to that function as though its return type were
an object reference or a Variant holding an array, list, or object
reference. For example:
Illegal use of property
You defined a property as a member of a class and then
referred to that property in an inappropriate way. For example:
Illegal use of read-only property
You tried to assign a value to a property of a product
object, but the product has defined that property to be read-only.
This means that you can retrieve but cannot assign that property's
value.
List reference must contain exactly one subscript
You declared a list variable as a class member. When you
subsequently referred to that list, you either omitted a subscript
or included more than one subscript. A reference to a list must include
one, and only one, subscript. For example:
Not a PUBLIC member
You referred to a variable, property, function, or sub
that was defined as a Private member of a class. Private members are
not visible outside of the class to which they belong. For example:
Missing argument
You called a member sub or function of a product class
and omitted one or more of the arguments that it expected. For example,
assume a product class Walden that has a member sub Move that has
two integer parameters:
Operation is disallowed in this session
The product from which you are running LotusScript has disabled the function,
statement, or directive that you attempted to use.
Wrong number of collection indices
You used more than a single subscript in referring to a
member of a collection. For example, assuming a collection class IntegerCollection:
Not a collection object
You referred to a product object as though it were a collection,
but it isn't a collection. For example, assuming the product class
ProdADT, which is not a collection class:
Collection item not found
You tried to refer to a nonexistent member of a collection.
For example, assuming a collection class IntegerCollection:
Automation-Object member not found
You referred to an undefined member of an OLE Automation
object, or you attempted to assign a value to an OLE Automation object
property that is read-only.
Automation-Object argument count
You called a method of an OLE Automation object and included
too few or two many arguments. The number of arguments must be the
same as the number of parameters defined for the method.
Automation-Object argument type mismatch
You called a method of an OLE Automation object and included
one or more arguments whose data type differs from the corresponding
parameters in the method's definition. The data type of each argument
must be the same as the data type of the corresponding parameter.
Out of system stack space
You entered an expression that LotusScript is unable to evaluate because
the expression contains too many elements. For example, an expression
consisting of hundreds of values separated by arithmetic operators
would cause this error because the result of each individual arithmetic
operation has to be saved on the stack until they can all be combined
to calculate the value of the expression as a whole, and there isn't
enough room on the stack to save them all.
Illegal REDIM
You used a ReDim statement in a context in which it is
inappropriate:
Error creating product object
You tried to create an instance of a product class but
the product encountered an error condition (such as Out of Memory)
and was unable to create the object.
Error accessing product object property
You tried to refer to a property of an instance of a product
class but the product encountered an error condition when you tried
to do so.
Error accessing product object method
You tried to refer to a method (member sub or function)
of an instance of a product class but the product encountered an error
condition when you tried to do so.
Error accessing product object
You tried to delete an instance of a product class but
the product encountered an error condition when you tried to do so.
Event handler return type mismatch
The return type of the event does not match the return
type of the function when attaching an event function to an object
through a variant.
Event handler procedure type mismatch
The event handler for an object is a sub and the user-defined
procedure is a function, or vice-versa, when attaching an event handler
to an object through a variant.