User Tools

Site Tools


crpl:docs:refexists

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:refexists [2013/01/14 18:39] – created virgilwcrpl:docs:refexists [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] 
 + 
 +=====  -?!  ===== 
 + 
 +^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 === 
 +<code> 
 +# Build a string by concatenating "xy" and "z".  
 +"xy" "z" concat  
 +-?! trace 
 +</code>  
 + 
crpl/docs/refexists.1358188774.txt.gz · Last modified: 2025/02/14 14:56 (external edit)