Delphi 3 Migration
raise SomeException.Create(LoadStr(SInsertLineError));This will no longer work. My suggested change is to use
raise SomeException.Create( {$IFNDEF VER100}LoadStr{$ENDIF} (SInsertLineError));
In general all code making use of the constants declared in CONSTS(.PAS/.DCU) will cause a compiler error: "Incompatible types: 'Integer' and 'String'"
I have not found anything in Borland's printed or online documentation to this effect.