Vincent Snijders schrieb:
Florian Klaempfl schreef:
Miklos Cserzo schrieb:

Hi Folks,

according the documentation "Arrays are limited to 2 GBytes in size in the default processor mode." Is there another mode allowing bigger arrays?

64 Bit mode/compiler.


Except for darwin.

Except it doesn't work:
http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?action=3&run1id=21737&testfileid=2417

This is operation system dependent also if you can declare static data structures of this size. Things like

type
  ta = array[0..$fffffffff] of byte;
var
  p : ^ta;

begin
  new(p);
end.

should work e.g. on linux.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to