<- PRPL reference <- Vars and Functions
Arguments | Result | Notation |
---|---|---|
value, string | none | [ x1 s1 - ] |
Stores value x1 in global heap variable of name s1. Global variables can be accessed by any script on the map.
# In one script: 42 "myGlobalVariable" ->!* # In any script on the same map after that point: "myGlobalVariable" <-!* trace # Shows 42 in the debug window.
s1 = GetStringFromStack();