Unit Block Definition is Expected

Description

The compiler meets a block of code that can be used only within another block specified by the Fore language.

Troubleshooting Tips

Add an enclosing block that can use the existing block of the code.

Example

Select Case i
    
End Select;

When the specified code is compiled, the following error is displayed: Unit block definition is expected. To resolve the error, implement a procedure or a function, in which you can use the Select Case selection statement.

See also:

Compiler Messages