I have the following code in a unit.
if (Index > Length(S)) or (Index < 1) then
raise EArgumentOutOfRangeException.CreateResFmt(@sArgumentOutOfRange_StringIndex, [Index, Length(S)]);
This is causing compiler error 'Error: Identifier not found EArgumentOutOfRangeException'
The code seems valid to me but maybe somebody can help me understand this.