|
Re: hey, stupid question but...
Quote:
Originally Posted by brainonska
i could be wrong...
but you declared the integer variable "max" in the function.
try putting "int max;" in your first line of code along with all your other variable declarations and then in the function... "max = ..."
|
All that would do is make it global, and the error would be different for that. I'm with Mike and the gang, I say it's an error in a previous line, or it doesn't like using int in the function name.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|