CODE
}
m = 5;
}
} //ERROR : Name previously declared within scope
The error is saying that I have declared } previously in teh scope?!

If you delete it, you get a syntax error since it does have the final bracket.
Can someone please help me.
These forums are CLOSED. Please visit the new forums HERE
Very, very weird error |
|
Jade Bard
Registered User
Join date: 7 Jul 2004
Posts: 106
|
07-21-2004 09:54
I have this error, and i have no clue how to fix it.
CODE
The error is saying that I have declared } previously in teh scope?! ![]() If you delete it, you get a syntax error since it does have the final bracket. Can someone please help me. |
Apotheus Silverman
I write code.
![]() Join date: 17 Nov 2003
Posts: 416
|
07-21-2004 10:22
Sounds like you've missed a semi-colon at the end of a line somewhere along the way.
Or a double-quote from the end of a string literal. Or something along those lines. _____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com Visit Abbotts Aerodrome for gobs of flying fun. |
Jade Bard
Registered User
Join date: 7 Jul 2004
Posts: 106
|
07-21-2004 10:44
I checked throughmy code
All the lines end with a ; there is no opened "" that might mess it up. This is a really odd error! |
Jade Bard
Registered User
Join date: 7 Jul 2004
Posts: 106
|
07-21-2004 12:59
oooh. I figured it out. It was because the name of the sub (or what ever you call it), was the same as a list I was using.
|
Hiro Pendragon
bye bye f0rums!
![]() Join date: 22 Jan 2004
Posts: 5,905
|
07-21-2004 22:20
Jade, I don't mean to sound rude, but I've noticed all of your posts have a description that is utterly banal.
Would you please try and summarize your posts in the description so everyone else can decide BEFORE opening your post whether or not they want to read it? For example, this post could have had the description, "variable scoping error". Thank you. |