User Tools

Site Tools


prpl:exists

<- 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.txt · Last modified: 2025/02/14 14:57 by 127.0.0.1