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

Jim,

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.

–jarek

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

Jim