Page 1 of 1

[Command] getGlobalString

Posted: Mon Nov 01, 2021 9:36 pm
by Raddeck
GlobalVariable.getGlobalString()


USE:
Get the string value of a global variable.
If there's no global variable under such name, returns 0.


TYPE: Command, non-Ref (ref-like syntax)
RETURNS: string
THEME: Variables
COMPARE: clearGlobal, setGlobalString


EXAMPLE:

Code: Select all

    pie = pieString.getGlobalString()
    "I could go for a slice of <pie> right now!"