This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
crpl:docs:refread [2013/01/14 13:40] – created virgilw | crpl:docs:refread [2018/02/22 16:17] – fixed incorrect example cornucanis | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | ~~DISCUSSION: |
+ | <- [[crpl: | ||
+ | |||
+ | ===== < | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | | |An item read from the variable named s1 |'' | ||
+ | |||
+ | |||
+ | === 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 " | ||
+ | # The result is " | ||
+ | # The result of the read is pushed to the stack and traced. | ||
+ | " | ||
+ | <-! trace | ||
+ | </ | ||
+ |