Re: [Gambas-user] Create Static and _call

2015-01-04 Thread Tobias Boege
On Mon, 05 Jan 2015, Beno?t Minisini wrote: > Le 05/01/2015 00:05, Tobias Boege a ?crit : > > > > Works as far as the project I attached last time is concerned. > > > > Attached now is a new version of the test project in which _call() has a > > parameter. It fails here saying "wanted MyClass got I

Re: [Gambas-user] Create Static and _call

2015-01-04 Thread Benoît Minisini
Le 05/01/2015 00:05, Tobias Boege a écrit : > > Works as far as the project I attached last time is concerned. > > Attached now is a new version of the test project in which _call() has a > parameter. It fails here saying "wanted MyClass got Integer instead". > > Regards, > Tobi > It should be bet

Re: [Gambas-user] Create Static and _call

2015-01-04 Thread Tobias Boege
On Mon, 05 Jan 2015, Beno?t Minisini wrote: > Le 04/01/2015 23:26, Tobias Boege a ?crit : > > Hi Benoit, > > > > there is a behaviour which bothers me for some time. If I create a class > > MyClass, make it Create Static and define a (non-static) Public Sub _call, > > I cannot use > > > >MyClas

Re: [Gambas-user] Create Static and _call

2015-01-04 Thread Benoît Minisini
Le 04/01/2015 23:26, Tobias Boege a écrit : > Hi Benoit, > > there is a behaviour which bothers me for some time. If I create a class > MyClass, make it Create Static and define a (non-static) Public Sub _call, > I cannot use > >MyClass() > > The interpreter throws "MyClass._call is not static"

[Gambas-user] Create Static and _call

2015-01-04 Thread Tobias Boege
Hi Benoit, there is a behaviour which bothers me for some time. If I create a class MyClass, make it Create Static and define a (non-static) Public Sub _call, I cannot use MyClass() The interpreter throws "MyClass._call is not static". I can still use MyClass._call() but that doesn't look