User Tools

Site Tools


ixe:irpl:variables:refexists

-?! (RefExists)

Syntax

-?!

Description

Takes a string from the stack and uses it as a variable name. If the variable exists (has been assigned),1 (true) is pushed to the stack, otherwise 0 (false).

Examples

"Santa isn't r-" ->secret
 
if ("secret" -?!)
    "I know a secret" Trace
else
    "I know no secrets" Trace
endif
ixe/irpl/variables/refexists.txt · Last modified: 2025/02/14 14:57 by 127.0.0.1