User Tools

Site Tools


4rpl:commands:write

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:write [2021/01/13 22:33] – created virgilw4rpl:commands:write [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~NOTOC~~ + <=[[4rpl:start| Index]]
-<=[[4rpl:start| Index]]+
  
-=== Syntax === +====== Set Variable ======
-->VAR+
  
-=== Description === +===== Syntax =====
-Pops a value from the stack and stores in a variable named VAR.+
  
-=== Examples === +->VARNAME 
-<code 4rpl>1 ->a+ 
 +===== Description ===== 
 + 
 +Pops an item from the stack and stores it in the local variable named **VARNAME**. Local variables persist across script invocations. 
 + 
 +===== Examples ===== 
 + 
 +<code 4rpl> 
 +1 ->a
 3.14 ->number 3.14 ->number
 "abc" ->letters "abc" ->letters
 </code> </code>
 +
 +~~NOTOC~~
 +
4rpl/commands/write.1610577205.txt.gz · Last modified: 2025/02/14 14:56 (external edit)