Op Thu, 31 Jul 2008, schreef Michael Schnell:
procedure x(const s:integer);
var a:array[0..s] of byte;
I never understood why this is not possible in Pascal.
OTOH with dynamic arrays this is not really necessary any more, but
non-dynamic arrays of course can be faster than dynamic arrays.
This is indeed the point, stack allocations are magnitudes faster than
heap allocations.
Daniël
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel