[fpc-pascal] Array clearing

Jonas Maebe jonas at freepascal.org
Wed Apr 5 18:53:19 CEST 2017

On 05/04/17 04:49, Ryan Joseph wrote:
> Yeah after all this talk, I’m going to use array[0..0, 0..0, 0..0] and allocate the memory myself to avoid overhead and confusion. Thanks for explaining everything to me but this time going low level makes the most sense.

Then you lose the ability to turn on range checking in your program, 
since any access with an index greater than 0 will cause an error.


More information about the fpc-pascal mailing list