[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error Loop Variable cannot be global
[Thread Prev] | [Thread Next]
- Subject: Error Loop Variable cannot be global
- From: "Mayost Sharon" <sharon@xxxxxxxxx>
- Date: Mon, 18 Mar 2024 20:46:05 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hello I try to run this code: ' Gambas module file Public $vList As String[] = ["a", "b", "c"] Public $vStr As String Public Sub Main() For Each $vStr In $vList Debug $vStr Next End and it gives an error: Error Loop Variable cannot be global Thanks
Re: Error Loop Variable cannot be global | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Error Loop Variable cannot be global | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |