On May 24, 5:20 pm, Marco van de Voort <mar...@[EMAIL PROTECTED]
> wrote:
> On 2007-05-23, winston19842...@[EMAIL PROTECTED]
<winston19842...@[EMAIL PROTECTED]
>
wrote:
>
> > of emsLinestart + a, an offset - this is perfectly legal in C, which
> > allows a lot of dangerous things.
>
> > How to do it in Pascal? Sorry, always been a little rusty in Pascal
> > when it came to pointers. I would've thought it would be trival...
>
> Not define it as pointer of integer/word but as pointer to array of
> integer/word.
That is what I was thinking. What I couldn't grok was how to determine
the size of the array at compile time given that the allocation size
could change.
Is this compiler dependent or is there a ****table way? The books I
have are more introductory and give up just shy of this material,
ending about the point of linked-lists...


|