[Gambas-user] Correct strategy for VB static var conversion to Gambas?

Christof Thalhofer 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:

"Option Structure"
"Option Articulate"

Or sth better to fix this decision.

Alles Gute

Christof Thalhofer

Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210530/be117082/attachment-0001.sig>

More information about the User mailing list