[Gambas-user] variable declaration everywhere ???
Jussi Lahtinen
jussi.lahtinen at gmail.com
Tue Dec 11 21:49:50 CET 2018
Why?
It's exactly the same code, but in different place. For me personally, it
doesn't matter at all.
Jussi
On Tue, Dec 11, 2018 at 7:01 PM Gianluigi <bagonergi at gmail.com> wrote:
>
>
> 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
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181211/f5d22670/attachment-0001.html>
More information about the User
mailing list