| |
| | Re: [fpc-devel] Local procedures as procedural parameter |
 | | This parameter must be passed, and possibly be removed from the stack, in every call to, and return from, a local subroutine. |
 | | All the technical details are already specified, by the current handling of local calls to local subroutines. |
 | | The only remarkable difference are static/dynamic checks, where direct calls can be handled at compile time, as is, whereas indirect calls would require a distinction at runtime, based on the local/global kind of the actual callback procedure. |
| www.mail-archive.com /fpc-devel@lists.freepascal.org/msg01974.html (735 words) |
|