Loading an array by string
I'm trying to load an array at start of frame (which is all the level data) I can load the map with no problems if I do for example:
Apppath$ + "data/maps/map0001.arr"
however... what I'd like is to load the maps from this path more dynamically, so I want to load it from a Global String
So essentially:
Apppath$ + "data/maps/GlobalStringA"
The global string in the previous frame is set to the file name, so GlobalStringA would be "map0001.arr" or "map0002.arr" etc. --- so in theory... my map should load because the array should be looking for Apppath$ + "data/maps/map0001.arr" to load, but it doesn't work... any ideas?
Edit: this is so typical, the minute after I post a question I figure it out, this was the solution -- Apppath$ + "data/maps/" + GlobalStringA + ".arr"