According to the specification of the Fore language, the Imports block should be declared in the very beginning of a unit or form.
Move the Imports block into the beginning of a unit or form.
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: