7 May
2005
7 May
'05
11:57 p.m.
Maurice Lombardi wrote:
this is interesting because I read recently in a Borland Delphi discussion group that pointers to ordinary procedure and pointer to class methods are essentially different things, so that such a construct, that the user was trying to implement, was impossible. He was asking: how to use a "static procedure" as an "object method".
Yes, object methods (whether virtual or not) have the hidden `Self' parameter, so they're not exchangeable with non-method routines with the same arguments. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8