This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:refexists [2013/01/14 18:39] – created virgilw | crpl:docs:refexists [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | |||
+ | ===== -?! ===== | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | | |0 or 1 depending on if variable exists |%%s1 -- b1 %%| | ||
+ | |||
+ | |||
+ | === Description === | ||
+ | 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 === | ||
+ | < | ||
+ | # Build a string by concatenating " | ||
+ | " | ||
+ | -?! trace | ||
+ | </ | ||
+ |