Re: [Gambas-user] Using a class as a function

2013-11-05 Thread Bruce
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" a écrit : > > > I saw an example of how to do this only yesterday. > >

Re: [Gambas-user] Using a class as a function

2013-11-05 Thread Fabien Bodard
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" a écrit : > I saw an example of how to do this only yesterday. > Do you think I can remember where? No. > > Any clues? > Bruce > > > >

[Gambas-user] Using a class as a function

2013-11-05 Thread Bruce
I saw an example of how to do this only yesterday. Do you think I can remember where? No. Any clues? Bruce -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming