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 [2013/01/18 06:16] grauniadcrpl:docs:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1
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>example goes here</code> +<code 4RPL> 
 +ShowTraceLog 
 +10 mod(6) Trace 
 +# Displays 4 
 +</code> 
  
crpl/docs/mod.1358489793.txt.gz · Last modified: 2025/02/14 14:56 (external edit)