Newbie questions!

BlitzMax Forums/BlitzMax Beginners Area/Newbie questions!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks TBL but it's still not what I'm looking for :)

I want to be able to create a ball within a function called newgame(), and have that ball be referenced anywhere outside of the scope of that function.

Can anyone help me with my other questions? How to check if a variable is set/defined, and how to get a reference to an item in a list assigned to a variable, but without having to loop through the list. The example above with the list worked, but once that item was removed from the list, the game would crash.