This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:refexists [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:refexists [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
<- [[.: | <- [[.: | ||
- | ===== -?! | + | ===== -?! (Ref Exists) |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | |string| bool| [string- bool] | | + | | name | bool | [ string - bool ] | |
=== Description === | === Description === | ||
- | string ARG1: The string name of the heap variable to check.< | + | name : The string name of the heap variable to check. |
Takes a string from the stack and uses it as a variable name. Checks to see if the variable exists (has been assigned). If so, 1 is pushed to the stack else 0. | Takes a string from the stack and uses it as a variable name. Checks to see if the variable exists (has been assigned). If so, 1 is pushed to the stack else 0. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
trace(-? | trace(-? | ||
</ | </ | ||