User Tools

Site Tools


prpl:deleteglobal

This is an old revision of the document!


<- PRPL reference <- Everything Else 2

--*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.
prpl/deleteglobal.1508881475.txt.gz · Last modified: 2025/02/14 14:56 (external edit)