User Tools

Site Tools


prpl:exists

This is an old revision of the document!


<- PRPL reference <- Vars and Functions

-?VARNAME

ArgumentsResultNotation
bool [ -bool]

Description

Checks to see if VARNAME exists (has been assigned). If so, 1 is pushed to the stack else 0.

Examples

if (not(-?unit)) 
	CreateUnit(10 20 "AmpGem") ->unit 
endif 
prpl/exists.1480721628.txt.gz · Last modified: 2025/02/14 14:56 (external edit)