Sheeple
May 7 2009, 12:25 AM
Im a macro I am making I would like to save any constant changes that I make, is there any possible way to do this with actool?
For instance:
constants
a = 1
end
compute a = $a + 1
So when the macro ends it shows
constants
a = 2
end
compute a = $a + 1
If you just want to be able to see where the macro ended, you can use TimeStamps, or List commands to save a log. There's many published macros, and many have either TimeStamp debugging/logging traces or actual log files to show what has went on.
I assume others may store their configuration files/variable stores in files, look around maybe.
TimeStamps are the easiest debug traces to implement and use..but log files are more permanent in that if AcTool crashes, or you take a power hit and PC loses power, etc you'll be able to read the log and maybe see why it happened, where. I hope that's all you're after, it seems there's no super easy method off the top to save and reload your constants...as the built in dataset (RuntimeTypeConst) will not allow you to DSLoad from a file. Anyways, say so either way what you're needing to do here and if this helps.