strict question
BlitzMax Forums/BlitzMax Beginners Area/strict question
| ||
I'm using strict and I get a complie error "identifier 'a' not found" in this Function updateall() For a:Tship=EachIn list a.update Next End Function Could someone explain why? Thanks, mudcat |
| ||
you need to declare the variable:Function updateall() Local a:TShip For a:Tship=EachIn list a.update Next End Functionor Function updateall() For Local a:TShip=EachIn list a.update Next End Function |
| ||
Wow that was a fast reply..Thank You. I tried local in front of for...didn't work..DOOh. Thanks for the help, mudcat |