Skip to main content

Storing a String

Storing a string on disk, permanently, is just as easy as using regular variables. Just use the ^ (caret) character as the first character of the variable name. The example saves a string in the variable ^x which is different than the regular variable x. Even if you kill all regular variables, ^x remains. ^x is a global.

Terminal


USER>set x = 4

USER>set ^x = "Store this on disk"

USER>kill

USER>write

USER>write ^x
Store this on disk
USER>
Feedback