Rhinoscript: trying figure out how to "remember" settings

How do we get rhinoscript to remember settings previously entered? An example somewhere? I’ve tried adding variable variously as public, global, and private right after Options Explicit but no luck.

Here’s a discussion of using the sticky dictionary


To save some setting in the document, check out the SetDocumentData / GetDocument data method.
To save settings in general, between Rhino sessions and documents, you may want to use *.ini files with your scripts settings via SaveSettings / GetSettings methods.


Thanks, guys. I’ve been coding >35 years and I am very impressed with the completeness of the Rhinoscript api. A lot to know!