<- PRPL reference <- Vars and Functions

--*VARNAME

ArgumentsResultNotation
none none [ - ]

Description

Deletes VARNAME from the global heap. It is now unassigned. Global variables can be accessed by any script on the map.

Examples

# In one script:
42 ->*myGlobalVariable
# In any script on the same map after that point:
--*myGlobalVariable
<-*myGlobalVariable trace
# Shows 0 in the debug window.