User Tools

Site Tools


4rpl:commands:refwrite

Index

Set Variable by reference

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

# Build a string by concatenating "xy" and "z". 
# Store the number 123 in the variable named "xyz". 
123 "xy" "z" concat ->! 
<-xyz trace
4rpl/commands/refwrite.txt · Last modified: 2021/05/30 13:58 by WithersChat