Invalid Type <TypeName>

Description

The specified type is used in a structure that does not allow the use of this type.

Troubleshooting Tips

Check the type in use. Specify a type that can be used within the implemented structure.

Example

Sub UserProc;
Var
    f: Array Of File;
Begin
    
End Sub UserProc;

When the specified code is compiled, the following error is displayed: Invalid type File. To resolve the error, define a simple type instead: f: Array Of String;.

See also:

Compiler Messages