PDA

View Full Version : Persistant variables in LUA? Girder?



mstahl
October 12th, 2009, 12:29 AM
I'm creating an LUA script that has to know (remember) the result of other script executions. I want to store results in variables...but are variable contents lost when script execution stops? Any way to save variable contents in Girder?

Rob H
October 12th, 2009, 06:45 AM
Variables will persist until you either reset the scripting engine or shut down Girder. Is that sufficient for what you want?

mstahl
October 12th, 2009, 09:22 AM
That's perfect - thanks!