This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:clearlocals [2014/07/08 22:04] – Added example ParkourPenguin | crpl:docs:clearlocals [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== 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 |
+ | </ | ||