I want to see if I can code a shorthand for some bulky text. Is it possible to set the value of strings?
Like...?
strings { already_done : string "I've already done that."; }
(from example source code in sticky)Use it like...
: print ref="already_done";
No, programmatically, from within a command. Like so:: match "set string" { set_string( "test_string" = "test" )}
Much in the same way you can set booleans or integers
Try this:
: set_string var = "test_string" text = "new string";
Perfection! Thank you!