01-24-2024, 09:22 PM
I don't like the idea of sharing variables between files, so I have to think some more about it.
You could create "getter" and "setter" functions to read and modify these variables, maybe?
For a global array/table you probably just need a getter, since tables are of reference type.
Hope this helps!
You could create "getter" and "setter" functions to read and modify these variables, maybe?
Code:
visible vMyString = "default"
function GetMyString()
return vMyString
endfunch
function SetMyString(value)
vMyString = value
endfunc
For a global array/table you probably just need a getter, since tables are of reference type.
Hope this helps!