[fpc-pascal] memory allocation of dynamic array

2007-09-22 Thread Marc Santhoff
Hi, a while ago I asked if I can assume the memory held by dynamic arrays is allocated in one contiguous block. The answer was sth. like "No, never!". I wrote a small testing programm using SetLenght() on an array multiple times using a bigger size every time and comparing the addresses of the a

Re: [fpc-pascal] type Ta = 1..10; var a : Ta; // a not initialized= crash

2007-09-22 Thread Tomas Hajny
On 22 Sep 07, at 16:18, Skybuck Flying wrote: > Oh the version I reported was for the IDE. > > The compiler version is 2.0.4 Still - the latest version is 2.2.0. Do you observe the problem with that version too? Tomas ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] type Ta = 1..10; var a : Ta; // a not initialized= crash

2007-09-22 Thread Skybuck Flying
Oh the version I reported was for the IDE. The compiler version is 2.0.4 Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal