Re: [fpc-pascal] Getting info on a procedure parameter

2014-02-11 Thread Constantine Yannakopoulos
On Tue, Feb 11, 2014 at 4:52 PM, Marco van de Voort wrote: > In our previous episode, Mark Morgan Lloyd said: > > If a method a.WriteBuff() is passed another method b.finish() as a > > parameter, can it access b before calling finish(), or would this > > require an explicit parameter? > > > > If

Re: [fpc-pascal] Getting info on a procedure parameter

2014-02-11 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Tue, 11 Feb 2014, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: If a method a.WriteBuff() is passed another method b.finish() as a parameter, can it access b before calling finish(), or would this require an explicit parameter? If yes

Re: [fpc-pascal] Getting info on a procedure parameter

2014-02-11 Thread Michael Van Canneyt
On Tue, 11 Feb 2014, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: If a method a.WriteBuff() is passed another method b.finish() as a parameter, can it access b before calling finish(), or would this require an explicit parameter? If yes, how? tobject(tmethod(f

Re: [fpc-pascal] Getting info on a procedure parameter

2014-02-11 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > If a method a.WriteBuff() is passed another method b.finish() as a > parameter, can it access b before calling finish(), or would this > require an explicit parameter? > > If yes, how? tobject(tmethod(func).data) __

[fpc-pascal] Getting info on a procedure parameter

2014-02-11 Thread Mark Morgan Lloyd
If a method a.WriteBuff() is passed another method b.finish() as a parameter, can it access b before calling finish(), or would this require an explicit parameter? If yes, how? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers