[DGD] call_other() and static functions

Rutseg Hammerstone rutsegmp at yahoo.es
Mon Nov 28 22:59:01 CET 2005


 --- Petter Nyström <md1pette at mdstud.chalmers.se>
escribió:

> As I have understood things, call_other() is the
> only way to call a 
> function. Correct?
> 

Oh no! You can call directly functions on your object.
So here you have to call trim("foo"); instead of
call_other(this_object(), "trim", "foo");

Think static functions couldn't be called by
call_other, so, even if the call_other was done on
this_object(), it can access functions declared as
static.
Atentamente,

Rutseg Martillo de Piedra
http://www.rlmud.tk


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es



More information about the DGD mailing list