This section lists all errors that can occur when type checking is performed.
Var
A1 : Array[1..10] Of Integer; A2 : Array[1..10] Of Integer; Begin A1:=A2; { This statement also gives this error. It is due to the strict type checking of Pascal } End. |
Tenum = (a,b,e:=5);
|
then you cannot use the Succ or Pred functions with this enumeration.
Remark: Properties can be used on the left side of an assignment, nevertheless they cannot be used as arguments.
Type
TMyStream = Class(TStream,Integer) |
Tenum = (a,b,e:=5);
|
you cannot use it as the index of an array.