This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:clearlocals [2021/01/13 22:47] – created virgilw | 4rpl:commands:clearlocals [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | + | < |
| - | < | + | <WRAP tabs> |
| + | * [[4rpl: | ||
| + | * [[4rpl: | ||
| + | </ | ||
| + | |||
| + | ====== ClearLocals ====== | ||
| + | |||
| + | ===== Syntax ===== | ||
| - | === Syntax === | ||
| ClearLocals | ClearLocals | ||
| - | === Description === | + | ===== Description ===== |
| - | Clears all local variables. | + | |
| - | Local variables persist across script invocations. | + | |
| - | === Examples === | + | Clears all local variables. |
| - | <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</ | + | <-temp Trace #prints out 0 to the tracelog |
| + | </ | ||
| + | ~~NOTOC~~ | ||