In article 3DFDCDE7.9776FB4A@yahoo.com, CBFalconer cbfalconer@yahoo.com writes
Martin Liddle wrote:
... snip ...
Thanks, that works fine. I am now starting to make some significant progress. One quirk I came across was that the following program fails to compile with
ml4.p:5: constant out of range
Program ml4; Var Magic:Integer;
begin Magic:=Ord('A')-Ord('a'); end.
The fix is trivial but it used to compile under gpc and has previously worked with two other Pascal compilers.
Am I missing something? How can you 'fix' such a failure?
The fix to my program.
Magic:=Ord('a')-Ord('A');
works fine.