The left limit has a value larger than the right limit when defining the tolerance range.
Check values of the constants and set the value not less than the specified one.
Sub UserProc;
Const
Min = 0;
Max = -5;
Var
a: Array[Min..Max];
Begin
End Sub UserProc;
When the specified code is compiled, the string of array declaration on the Max constant generates the following error: Constant expression should not be less than 0. To resolve the error, set the appropriate value for the Max constant.
See also: