Re: [fpc-pascal] Simple question about {$R +}

2009-01-31 Thread Jonas Maebe
On 31 Jan 2009, at 18:35, David W Noon wrote: When I use a dynamic array and SetLength(), does the {$R +} option check subscript ranges on that array? Yes. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

[fpc-pascal] Simple question about {$R +}

2009-01-31 Thread David W Noon
Hi all, When I use a dynamic array and SetLength(), does the {$R +} option check subscript ranges on that array? -- Regards, Dave [RLU #314465] === david.w.n...@ntlworld.com (David W Noon) =

[fpc-pascal] Simple question

2005-01-21 Thread Peter H.M. Brooks
This is probably a simple question and I ought to know the answer - but I don't! Is there an object in Pascal (fpc, of course) that I can use like this: 1. Push things (bytes, asciistrings, integers ..) onto like a stack 2. Find the length of in bytes 3. Write out, or use generally, as an array?