https://foro.gambas-es.org/viewtopic.php?f=1&t=6127&p=36675#p36675
-----------------------------------
Shell
Sabado, 14 Enero 2017, 20:09

Métodos Especiales
-----------------------------------
Buenas!.

He estado mirando los métodos especiales en la ayuda online de Gambas en inglés.
Podemos ver métodos como:

[quote]
_attach 	When an object is attached to or detached from its parent.
_call 	When using an object as if it is a function.
_compare 	When comparing an object with another one.
_get 	When reading an object as if it is an array.
_init 	When the object class is loaded.
_next 	When enumerating the object.
_new 	When an object is created.
_property 	To know if an unknown symbol is a method or a property.
_put 	When writing to an object as if it is an array.
_ready 	When an object construction is finished, and an object is ready to be used.
Since 3.9

_unknown 	When trying to use an unknown object method or property. 
[/quote]

En el manual de Gambas, el libro, aparece _free . Que ya no se encuentra.
Pero parece que hay más.

 [img]https://foro.gambas-es.org/files/images/768/metodos_especiales_1484420607_365564.png[/img]

_exit por ejemplo.
_ready no aparece en la lista desplegable.

Saludos


