Re: [fpc-pascal] Property Tags
i already know about virtual metods, by dynamic dispatch i mean to call a procedure by its name, at runtime, not at compile time... i simply dont know how to do it (maybe object pascal doesnt support this ?) 2010/8/4 leledumbo leledumbo_c...@yahoo.co.id: and what about property tags and dynamic dispatch ? AFAIR property tags aren't yet supported but dynamic dispatch is already supported with the virtual modifier. Check this out: http://www.freepascal.org/docs-html/ref/refsu25.html -- View this message in context: http://old.nabble.com/Property-Tags-tp29315514p29342617.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pas...@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Property Tags
In our previous episode, Jorge Aldo G. de F. Junior said: i already know about virtual metods, by dynamic dispatch i mean to call a procedure by its name, at runtime, not at compile time... i simply dont know how to do it (maybe object pascal doesnt support this ?) Two forms: The first is only for published methods afaik, and that functionality is meant for framework internal use, so there is no short syntax. (Lazarus uses this for its streamed messagehandlers, which are streamed as name) The second is idispatch, the COM like way, which is used by interfaces to e.g. office applications and scripting languages. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal