Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Type mismatch (ERR: 13)
■ More than one condition can cause this error:
• The variable specified is not of the required type. For
example, you tried to use the SWAP statement with a string
variable and a numeric variable, or with two numeric
variables of different types.
• You tried to specify an alphanumeric label with the RUN
statement.
• In form code, you tried to specify an object that cannot
be found, or explicit reference to the object is required.
• In a multiple-module program, you have mismatched COMMON
statements.
• During an ISAM OPEN FOR operation, the data type of a
record element does not match the data type of a table
column.
• During an ISAM INSERT operation, the number of elements in
the record does not match the number of columns in table,
or the data type of a record element does not match the
data type of a table column.
• During an ISAM RETRIEVE operation, the data type of a
record element does not match the data type of a table
column.
• In an ISAM SEEKoperand statement, there is a data type
mismatch between the keyvalue argument and the current
index.
• During an ISAM UPDATE operation, the record variable is
not the same user-defined type as the table you are
attempting to update.
■ If you need additional help, move the cursor to a keyword
and press F1 to open the Help window.