This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:refdelete [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:refdelete [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
<- [[.: | <- [[.: | ||
- | ===== --? ===== | + | ===== --! (Ref Delete) |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | | varname |
=== Description === | === Description === | ||
- | string ARG1: The string name of the heap variable to delete.< | + | Finds a local variable by string name and deletes it. |
- | Finds a local variable by string name and deletes it. | + | |
+ | Warning: don't use --? (used in CW3), it deletes a variable named "?" | ||
=== Examples === | === Examples === | ||
- | < | + | < |
- | --?(" | + | 42 -> |
+ | --!(" | ||
trace(< | trace(< | ||
</ | </ | ||