User Tools

Site Tools


4rpl:commands:refread

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
4rpl:commands:refread [2021/01/13 17:42] – created virgilw4rpl:commands:refread [2021/01/14 18:26] Sanian
Line 1: Line 1:
-~~NOTOC~~ + <=[[4rpl:start| Index]] 
-<=[[4rpl:start| Index]]+ 
 +====== Get Variable by reference ====== 
 + 
 +===== Syntax =====
  
-=== Syntax === 
 <-! <-!
  
-=== Description === +===== Description =====
-Pops a string from the stack and then treats that as a variable name to read. This allows dynamic reading of variables. +
  
-=== Examples === +Pops a string from the stack and then treats that as a variable name to read. This allows dynamic reading of variables. 
-<code 4rpl>42 ->abc + 
-#prints 42 +===== Examples ===== 
-trace( <-!("abc") ) + 
 +<code 4rpl> 
 +42 ->abc 
 +"abc" ->varname 
 + 
 +<-varname <-! Trace # prints 42
 </code> </code>
 +
 +~~NOTOC~~
 +
4rpl/commands/refread.txt · Last modified: 2021/05/30 13:58 by WithersChat