After a thorough search, I can't seem to find the answer to my question: can I make a vector (created through scripting) into a global variable in DOpus?
I would like to create a vector in my script using DOpus.Create.Vector, add some string items to the vector, and then make it available throughout DOpus as a global variable so that I can access the items in the vector from various buttons/scripts and change them as needed. I would need the vector to be persistent.
If it's not possible, I'm wondering if anyone can provide some suggestions on how to make a changing list of strings available to buttons/scripts throughout DOpus (and persistent between sessions). I've considered some possible solutions like keeping a long, delimited string as a global variable and looping through it when needed, or writing and reading from a temporary file, but these approaches seem cludgy. I'm wondering if there's a more elegant solution.