User Tools

Site Tools


crpl:docs:refwrite

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:refwrite [2014/10/01 19:02] – external edit 127.0.0.1crpl:docs:refwrite [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]]
  
 =====  -> (refwrite)===== =====  -> (refwrite)=====
  
-^Arguments^Result^Notation^ +===== Syntax =====
-|Item to put into variable, name of variable | |''n1 s1 -- ''|+
  
 +<-varname ->!
  
-=== Description === +===== Description ===== 
-Pops a name of a variable and an item from the stack and stores the item in the variable. + 
-=== Examples === +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. 
-<code>+ 
 +===== Examples ===== 
 + 
 +<code 4rpl>
 # Build a string by concatenating "xy" and "z" # Build a string by concatenating "xy" and "z"
 # Store the number 123 in the variable named "xyz" # Store the number 123 in the variable named "xyz"
 123 "xy" "z" concat -> 123 "xy" "z" concat ->
 <-xyz trace <-xyz trace
-</code> +</code>
  
  
crpl/docs/refwrite.1412190170.txt.gz · Last modified: 2025/02/14 14:56 (external edit)