You use a scripts folder in the root directory of your hard drive? e.g. C:\Scripts\ ? If not, then I suggest not having that leading / on the filename... Oddly enough, that gets past the absolute path detection in 2425, BUT WILL NOT WORK IN THE NEXT BUILD, just as it should not.
My test with build 2425 (please just use the build number, dont include 0.991b, that's just confusing

) :
Code: Select all
function main()
{
declare sSettingFile string script "Scripts/Upop_Settings.xml"
Echo "${sSettingFile}"
declare sName string script ${SettingXML[${sSettingFile}].Set[Other].GetString[Name,"NONAME"]}
Echo "${sName}"
}
ran fine first time, so I set the setting to Jimbob, saved the file, and ran it some more. ran it about 42 times. no crashes, nothing out of the ordinary... exact output I would expect.
Code: Select all
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
Scripts/Upop_Settings.xml
Jimbob
ad infinitum
The only other problem I see is the ` before your <?xml ... but I assume that was a copy and paste error and does not really appear in the xml. Or does it?
Testing with the ` in the XML, it a) Fails to load, and b) Crashes on the second run.
Fix the XML, and dont use absolute paths when you mean to use relative paths!