This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:clearlocals [2021/02/05 16:43] – Rmoved discussion tag Karsten75 | crpl:docs:clearlocals [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| =====  ClearLocals | =====  ClearLocals | ||
| - | ^  Arguments | + | ===== Syntax ===== | 
| - | | | |  %%--%% | + | |
| + | ClearLocals | ||
| + | |||
| + | ===== Description ===== | ||
| + | |||
| + | Clears all local variables. | ||
| + | |||
| + | ===== Examples ===== | ||
| - | === Description === | + | < | 
| - | Clears all local variables. | + | 1 ->temp | 
| - | Local variables persist across script invocations. | + | |
| - | === Examples === | + | |
| - | < | + | |
| <-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 | 
| + | </ | ||