I've been having some difficulty trying to save a custom property from a locally saved text file. I was looking around the runrev documentation and I basically want to recreate this effect shown in Step 4. http://lessons.runrev.com/s/lessons/m/4 ... -LiveCode-
Code: Select all
on preOpenStack
loadFile
put the cProperty of this stack into field "MyProperty"
end preOpenStack
on loadFile
put(URL("file://mnt/sdcard/myproperty.txt")) into tPath
if there is a file tPath then
set the cMyPropertyof this stack to URL("file://mnt/sdcard/myproperty.txt")
end if
end loadInGameMoney