[Gambas-user] Correct strategy for VB static var conversion to Gambas?
chrisml at deganius.de
Sun May 30 00:44:11 CEST 2021
Am 29.05.21 um 22:09 schrieb Benoît Minisini:
> I didn't allow to declare static class variable inside functions, like
> you can do in C (and other languages).
> I think it's mainly for the same reason I prevented declaring local
> variables anywhere in the code.
> After some pressure from people I won't give the names, I accepted to
> allow local variable declaration anywhere.
> Now I regret. It makes the code so ugly for me! :-)
Yes, you are/were right.
Maybe we should do sth like "Option Explicit" in VB:
Or sth better to fix this decision.
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the User