User Tools

Site Tools


4rpl:commands:clearlocals

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:clearlocals [2021/01/13 22:47] – created virgilw4rpl:commands:clearlocals [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~NOTOC~~ + <=[[4rpl:start| Index]] 
-<=[[4rpl:start| Index]]+<WRAP tabs> 
 +  * [[4rpl:commands:ClearLocals|Locals]] 
 +  * [[4rpl:commands:ClearGlobals|Globals]] 
 +</WRAP> 
 + 
 +====== ClearLocals ====== 
 + 
 +===== Syntax =====
  
-=== Syntax === 
 ClearLocals ClearLocals
  
-=== Description === +===== Description =====
-Clears all local variables.  +
-Local variables persist across script invocations.+
  
-=== Examples === +Clears all local variables.  Local variables persist across script invocations. 
-<code 4rpl>1 ->temp+ 
 +===== Examples ===== 
 + 
 +<code 4rpl> 
 +1 ->temp
 <-temp Trace #prints out 1 to the tracelog <-temp Trace #prints out 1 to the tracelog
 ClearLocals ClearLocals
-<-temp Trace #prints out 0 to the tracelog</code>+<-temp Trace #prints out 0 to the tracelog 
 +</code>
  
 +~~NOTOC~~
  
4rpl/commands/clearlocals.1610578057.txt.gz · Last modified: 2025/02/14 14:56 (external edit)