[Gambas-user] Create Static and _call
Tobias Boege
taboege at ...626...
Sun Jan 4 23:26:24 CET 2015
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 cool enough. Can the interpreter be made more clever
about this (or am I doing a forbidden thing)?
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create-static-call-0.0.1.tar.gz
Type: application/octet-stream
Size: 3760 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150104/c55943cd/attachment.obj>
More information about the User
mailing list