This was from one of the original BrightScript Reference Manuals (PDF):
"BrightScript does not support global variables. Except, there is one hard-coded global
variable “global” that is an interface to the global BrightScript Component. The global
component contains all global library functions. "
I don’t know if that made it into the online version of the documentation or not.
“renojim” wrote:
This was from one of the original BrightScript Reference Manuals (PDF):
"BrightScript does not support global variables. Except, there is one hard-coded global
variable “global” that is an interface to the global BrightScript Component. The global
component contains all global library functions. "
I don’t know if that made it into the online version of the documentation or not.
-JT
Wow! there is a manual?! even is more complex then roku online docs, thanks a lot! but still it could be updated in sdkdocs, please.
“lkrocek” wrote:
Wow! there is a manual?! even is more complex then roku online docs, thanks a lot! but still it could be updated in sdkdocs, please.
that’s between the lines in https://sdkdocs.roku.com/display/sdkdoc … ture-Scope
I figured if anyone could find it in the online docs RokuNB could. Searching the old PDF for “global” I found the passage in a matter of seconds. Searching online… well, I never did find it in the 30+ seconds I allocated for the search. I’m just not willing to do a search and then another within those search results.