This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:mod [2013/01/14 19:03] – created virgilw | crpl:docs:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== mod ===== | ||
+ | |||
+ | <-a <-b mod -> | ||
+ | |||
+ | === Description === | ||
+ | Calculates the remainder of the two arguments and pushes the result on the stack. | ||
+ | === Examples === | ||
+ | <code 4RPL> | ||
+ | ShowTraceLog | ||
+ | 10 mod(6) Trace | ||
+ | # Displays 4 | ||
+ | </ |