User Tools

Site Tools


crpl:docs:sub

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:sub [2017/10/05 15:40] – Clarified order of operation, added example kubinator4321crpl:docs:sub [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]]
 =====  sub  ===== =====  sub  =====
  
-^Arguments^Result^Notation^ +<-a <-b sub ->result
-|Two items on the stack|The difference of two items |''n1 n2 -- n3 ''+
- +
 === Description === === Description ===
 Subtracts the second argument from the first (i1-i2) and pushes the result on the stack. Subtracts the second argument from the first (i1-i2) and pushes the result on the stack.
 === Examples === === Examples ===
-<code>+<code 4RPL>
 5 3 sub Trace #Displays 2 5 3 sub Trace #Displays 2
 </code> </code>
crpl/docs/sub.1507218030.txt.gz · Last modified: 2025/02/14 14:56 (external edit)