Closed storypixel closed 9 years ago
Can you give an example of how to declare a global variable via Blueberry? I've tried some things, they aren't working.
Try _GLOBALS["MyGlobal"] = "some value". Right now there's not an easier way. I think the global keyword might be necessary to work with legacy scripts.
_GLOBALS["MyGlobal"] = "some value"
global
Works perfectly, thank you
Can you give an example of how to declare a global variable via Blueberry? I've tried some things, they aren't working.