[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New warning from compiler about loop variables
[Thread Prev] | [Thread Next]
- Subject: Re: New warning from compiler about loop variables
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 29 Sep 2026 11:30:10 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 9/29/26 11:17 AM, Jussi Lahtinen wrote:
Ah, of course. You are right, it should give a warning. Or not allow to declare the variable again.
Or actually make the variable local to the loop and give a warning about it being shadowed. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
| Re: New warning from compiler about loop variables | brian <brian@xxxxxxxxxxxxxxxx> |
| Re: New warning from compiler about loop variables | Brian G <brian@xxxxxxxxxxxxxxxx> |
| New warning from compiler about loop variables | Brian G <brian@xxxxxxxxxxxxxxxx> |
| Re: New warning from compiler about loop variables | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: New warning from compiler about loop variables | BB <adamnt42@xxxxxxxxx> |
| Re: New warning from compiler about loop variables | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |
| Re: New warning from compiler about loop variables | brian <brian@xxxxxxxxxxxxxxxx> |
| Re: New warning from compiler about loop variables | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |