User Tools

Site Tools


crpl:docs:refexists

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:refexists [2013/01/18 00:58] grauniadcrpl:docs:refexists [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]]
  
Line 5: Line 5:
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| |0 or 1 depending on if variable exists |''s1 -- b1 ''|+| |0 or 1 depending on if variable exists |%%s1 -- b1 %%|
  
  
 === Description === === Description ===
 Takes a string from the stack and uses it as a variable name.  Takes a string from the stack and uses it as a variable name. 
-Checks to see if the varialbe exists (has been assigned). +Checks to see if the variable exists (has been assigned). 
 If so, 1 is pushed to the stack else 0. If so, 1 is pushed to the stack else 0.
 === Examples === === Examples ===
crpl/docs/refexists.1358470686.txt.gz · Last modified: 2025/02/14 14:56 (external edit)