User Tools

Site Tools


crpl:docs:add

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
crpl:docs:add [2015/03/05 14:38] – Removed "Discussion" tag Karsten75crpl:docs:add [2022/07/05 14:07] (current) – Reformat Karsten75
Line 2: Line 2:
 =====  add  ===== =====  add  =====
  
-^Arguments^Result^Notation^ +<-a <-b add ->result 
-|Two items on the stack|The sum of two items |''n1 n2 -- n3 ''|+
  
 === How to use === === How to use ===
Line 13: Line 12:
 Adds the two arguments together and pushes the result on the stack. Adds the two arguments together and pushes the result on the stack.
 === Examples === === Examples ===
-<code>+<code 4RPL>
 ShowTraceLog ShowTraceLog
 4 5 add Trace 4 5 add Trace
Line 21: Line 20:
 Same example in Warp notation: Same example in Warp notation:
  
-<code>+<code 4RPL>
 showtracelog showtracelog
 add(4 5) ->result add(4 5) ->result
 Trace(<-result) Trace(<-result)
 </code> </code>
crpl/docs/add.txt · Last modified: 2022/07/05 14:07 by Karsten75