[Gambas-user] variable declaration everywhere ???

Gianluigi bagonergi at gmail.com
Tue Dec 11 18:00:01 CET 2018


Il giorno mar 11 dic 2018 alle ore 09:34 Fabien Bodard <gambas.fr at gmail.com>
ha scritto:

> Allow local variable declaration anywhere in the function. The local
> symbol still has a function scope, but can be used after its
> declaration only.
>
> hum....
>
> and now ?
>
> {Integer}MyVar = 1+1 ?
>
> :-P
>
>
> --
> Fabien Bodard
>

It is like in other languages, I personally do not like it because it makes
more difficult to understand the code of others. :-(

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181211/2ece1020/attachment.html>


More information about the User mailing list