It's saved within a structure, so it might be the structures that are bugged. This is what i basically have to save to a datafile.
var structure
structure.+thing := "a space!"
element.setprop("test", structure)
Now opening up the actual data file reveals that this saves perfectly.
However this...
Print(element.getprop("test").thing)
will return <"uninitialized object"> on EVERY string that has a space. I've tried saving the string in an array like.
structure.+thing := {"a space!"}
and Print(element.getprop("test").thing) still returns <"uninitialized object"> for any string with a space. Every other string is returned as {string}, works fine.
I then tried what the result of
res := SplitWords("a space!")
structure.+thing := res
And that returns <"uninitialized object"> too. So with an array with 2 words, no spaces it returns this error
hmm
So it's either a bug with accessing data files, or a bug with structures, OR a bug with structures IN datafiles

