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: 2017/09/23 07:07 by kajacx