[Command] getGlobalString

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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!"
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply