The Imports Block should Precede All Other Blocks

Description

According to the specification of the Fore language, the Imports block should be declared in the very beginning of a unit or form.

Troubleshooting Tips

Move the Imports block into the beginning of a unit or form.

Example

Sub UserProc;
Begin
    
End Sub UserProc;

Imports Space1;

When the specified code is compiled, the following error is displayed: The Imports block should precede all other blocks. To resolve the error, declare the Imports block before the UserProc procedure.

See also:

Compiler Messages