Thanks GreyAlien. I guess what he's trying to do is to have any kind of variable be passed and be modified in its original form, regardless of whether it is global or local or otherwise, and perhaps just defined it as a Global in his example out of habit or whatever, and maybe has been accustomed to having to use globals to achieve this result due to not knowing about Var. Or.... maybe we're right ;-D
Modifying a global in a function
BlitzMax Forums/BlitzMax Programming/Modifying a global in a functionThe 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.