local variable "idx" shadows a variable at a preceding level
#2

Because you've put the variable "idx" twice.

A classic example that you can't do is

main() { new idx; new idx; }

makes no sense. :S
Reply


Messages In This Thread
local variable "idx" shadows a variable at a preceding level - by Stanford - 25.05.2013, 10:02
Re: local variable "idx" shadows a variable at a preceding level - by TheArcher - 25.05.2013, 10:26
Re: local variable "idx" shadows a variable at a preceding level - by Vince - 25.05.2013, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)