[fpc-devel] Bug #0021641: Array of const gives check range error

patspiper patspiper at gmail.com
Tue Apr 3 20:27:32 CEST 2012


The following is related to bug #0021641 (Array of const gives check 
range error).

Is it correct for the exception to manifest itself in the dword case and 
not the qword one?

   writeln(Format('%d', [qword(qword(High(Int64))+1)]));  //ok
   writeln(Format('%d', [dword(dword(High(integer))+1)]));  //exception

Stephano



More information about the fpc-devel mailing list