I'm trying to save a file under a randomly generated name using the Datastore 2 object for TGF.
(I have already generated a string using a random text file I had wandering around off-screen called "Saving......")
I want to save the file as: appdrive$ + appdir$ + "maps\string$( "Saving......" ).map"
However, it believes I'm trying to name it: appdrive$ + appdir$ + "maps\string$( "
and the: Saving......").map"
is just nonsense to it, and causes a syntax error.
If I don't put quotations around "Saving......" you can probably guess what happens, it believes I want to name the file: appdrive$ + appdir$ + "maps\string$( Saving...... ).map"
which is obviously not what I want.
Does anyone know a way around this problem that doesn't involve upgrading?