[Gambas-user] variable declaration everywhere ???

Gianluigi bagonergi at gmail.com
Sat Dec 15 15:21:49 CET 2018

hi all,
I wonder if this my mail will be received by the community or will be
discarded as spam, however it is only my humble thought.
I have already said this but I would like to repeat it.
Why, if I write this code:

   For n As Byte = 0 To 9
     Dim v As Byte


   Dim sStr As String[] = Split("Every word of this phrase", " ")
   For Each s As String In sStr
     Print s

n, v and s must also exist outside the For blocks?

The only one that should remain is sStr.

P.S. (Spam)
I had no GMail I had Libero.it I had to change because GMail interpreted my
emails as spam.
I have occasionally received from more than one of you mail that gmail has
put in the spam folder.
Lately, the emails of Fabien Bodard.
To be able to make Google understand that those mails were lawful I had to
mark them as not spam several times.
To be sure to receive all the mail, in addition to checking the spam folder
also check The User Archives [0]
I can not understand how it is possible that those who write me regularly
in the mailing list can suddenly become spam without my report.
Tobias has complained about the same thing, we should notify who is the
victim of this abuse so that he can complain to Google (or other operator)
and ask the reason for this behavior.
I do not know why I feel like I'm often a victim of it. :-(

[0] https://lists.gambas-basic.org/pipermail/user/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181215/2630c5e5/attachment.html>

More information about the User mailing list