Global inside a Function

BlitzMax Forums/BlitzMax Beginners Area/Global inside a Function

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.

It keeps its previous state, but you are simply letting it equal somthing each time. ie The firat time its run File doesnt exist. the second time file does exist, it equals whatever but you tell it to equal whatever again

For the behaviour you state you need a doesit exist condition check arround it

Edit. That doesnt sound right does it?