This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:mod [2021/02/05 16:43] – Rmoved discussion tag Karsten75 | crpl:docs:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== mod ===== | ===== mod ===== | ||
| - | ^Arguments^Result^Notation^ | + | <-a <-b mod ->result |
| - | |Two items on the stack|The division remainder of two items |'' | + | |
| === Description === | === Description === | ||
| Calculates the remainder of the two arguments and pushes the result on the stack. | Calculates the remainder of the two arguments and pushes the result on the stack. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| ShowTraceLog | ShowTraceLog | ||
| 10 mod(6) Trace | 10 mod(6) Trace | ||