Need help...
#3

Nvm what I said.

And we indeed need the above lines

Quote:

declaration of a local variable must appear in a compound block


The declaration of a local variable must appear between braces
(“{. . .}”) at the active scope level.
When the parser flags this error, a variable declaration appears
as the only statement of a function or the only statement below
an if, else, for, while or do statement. Note that, since local
variables are accessible only from (or below) the scope that their
declaration appears in, having a variable

Reply


Messages In This Thread
Need help... - by Libra_PL - 24.08.2010, 14:20
Re: Need help... - by Vince - 24.08.2010, 14:28
Re: Need help... - by playbox12 - 24.08.2010, 14:29
Re: Need help... - by Vince - 24.08.2010, 14:33
Re: Need help... - by playbox12 - 24.08.2010, 14:34
Re: Need help... - by Libra_PL - 24.08.2010, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)