[Gambas-user] Using a class as a function

Bruce bbruen at ...2308...
Tue Nov 5 12:47:54 CET 2013


On Tue, 2013-11-05 at 12:34 +0100, Fabien Bodard wrote:
> In your class :
> 
> Public sub _Call(value as whatyouwant) as whatyouwant
> 
> End
> 
> With that you can do
> 
> Print Myclass(value)
> Le 5 nov. 2013 12:10, "Bruce" <bbruen at ...2308...> a écrit :
> 
> > I saw an example of how to do this only yesterday.
> > Do you think I can remember where? No.
> >
> > Any clues?
> > Bruce
> >
> >
> >
Thanks Fabian,

I obviously had too many "Australian sparkling white wines" this
afternoon.

Bruce (hic!)







More information about the User mailing list