[fpc-pascal] assigning a local function to a var
Joao Morais
post at joaomorais.com.br
Thu Jul 10 22:54:41 CEST 2008
David Emerson wrote:
> You're missing the point -- those functions, func_a and func_b, should
> be embedded within another function. The behavior I would like to see
> concerns local functions, not global functions. In your executable,
> func_a and func_b are global functions (within the unit) not local
> functions (embedded within another function).
Aff... indeed. Sorry. Local procedures and functions are really
unsupported because of stack and local variable issues afaik. Delphi has
this same limitation.
Joao Morais
More information about the fpc-pascal
mailing list