User Tools

Site Tools


crpl:docs:mod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:mod [2017/10/12 20:49] – Added example code GameGibucrpl:docs:mod [2022/07/05 14:25] (current) – Reformat Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
 =====  mod  ===== =====  mod  =====
  
-^Arguments^Result^Notation^ +<-a <-b mod ->result
-|Two items on the stack|The division remainder of two items |''n1 n2 -- n3 ''+
  
 === 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 ===
-<code>+<code 4RPL>
 ShowTraceLog ShowTraceLog
 10 mod(6) Trace 10 mod(6) Trace
crpl/docs/mod.1507855759.txt.gz · Last modified: 2017/10/12 20:49 by GameGibu