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
crpl:docs:refread [2013/01/14 13:40] – created virgilwcrpl:docs:refread [2022/06/25 13:10] (current) – Reformat Karsten75
Line 1: Line 1:
-TODO+<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] 
 + 
 +=====  <-!  ===== 
 + 
 +===== Syntax ===== 
 + 
 +<-varname ->! 
 + 
 +===== Description ===== 
 + 
 +Pops a value from the stack and treats it as a variable name, then pops another value from the stack and assigns it to that variable. 
 + 
 +=== Examples === 
 +<code> 
 +# Store a number in the variable named xyz  
 +123 ->xyz  
 +# Build a string by concatenating "xy" and "z".  
 +# The result is "xyz". Use that as the name of a var and read its contents.  
 +# The result of the read is pushed to the stack and traced.  
 +"xy" "z" concat  
 +<-! trace 
 +</code>  
 + 
crpl/docs/refread.1358188830.txt.gz · Last modified: 2014/10/01 15:02 (external edit)