User Tools

Site Tools


crpl:docs:refread

This is an old revision of the document!


~~DISCUSSION:off~~ <- CRPL reference <- Vars and Functions

<-!

ArgumentsResultNotation
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

# 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
crpl/docs/refread.1519334279.txt.gz · Last modified: 2018/02/22 16:17 by cornucanis