[fpc-pascal]Array sizes

Florian Klaempfl Florian.Klaempfl at gmx.de
Sun Dec 29 13:08:31 CET 2002


Michael.VanCanneyt at Wisa.be wrote:
> 
> On Sat, 28 Dec 2002, Mark Emerson wrote:
> 
> 
>>How big can a FPC array be--both in number of elements and overall size?
>> This question is not addressed in the documentation (that I could find,
>>anyway).  I fear that awful ceiling at 64KB that existed in Turbo
>>Pascal.  Please tell me it's gone!!
> 
> 
> It is gone. I believe the theoretical limit is 2Gb, but I'm not sure.

The theoretical limit of the compiler is even 4GB but I don't know any 
(i386-)OS which supports 4GB for one user process and the code and stack size 
must be subtracted too.






More information about the fpc-pascal mailing list