User Tools

Site Tools


crpl:docs:refread

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
crpl:docs:refread [2013/01/14 13:40] – created virgilwcrpl:docs:refread [2014/10/12 18:46] – Discussion status changed virgilw
Line 1: Line 1:
-TODO+~~DISCUSSION:off~~ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] 
 + 
 +=====  <-!  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +| |An item read from the variable named s1 |''s1 -- n1 ''
 + 
 + 
 +=== Description === 
 +Reads the contents of the local variable named s1 and pushes it to the stack.  
 +Since s1's contents can vary, this allows dynamic reading of variables. 
 +=== Examples === 
 +<code> 
 +# Store a number in the variable named xyz 123 ->xyz  
 +# Build a string by concatenating "12" and "3".  
 +# The results is "123". Use that as the name of a var and read its contents.  
 +# The result of the read is pushed to the stack and traced.  
 +"12" "3" concat  
 +<-! trace 
 +</code>  
 + 
crpl/docs/refread.txt · Last modified: 2022/06/25 13:10 by Karsten75