This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:add [2013/01/14 19:02] – created virgilw | crpl:docs:add [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | <- [[crpl: |
| + | ===== add ===== | ||
| + | |||
| + | <-a <-b add ->result | ||
| + | |||
| + | === How to use === | ||
| + | |||
| + | | Standard CRPL | //num num// **add ** | | ||
| + | | Warp notation | **add** (//num num//) | | ||
| + | |||
| + | === Description === | ||
| + | Adds the two arguments together and pushes the result on the stack. | ||
| + | === Examples === | ||
| + | <code 4RPL> | ||
| + | ShowTraceLog | ||
| + | 4 5 add Trace | ||
| + | #Adds 4 and 5, then traces the result. | ||
| + | </ | ||
| + | |||
| + | Same example in Warp notation: | ||
| + | |||
| + | <code 4RPL> | ||
| + | showtracelog | ||
| + | add(4 5) -> | ||
| + | Trace(< | ||
| + | </ | ||