User Tools

Site Tools


crpl:docs:add

This is an old revision of the document!


<- CRPL reference <- Math Commands

add

ArgumentsResultNotation
Two items on the stackThe sum of two items n1 n2 – n3

How to use

Standard CRPL num num add
Warp notation add (num num)

Description

Adds the two arguments together and pushes the result on the stack.

Examples

ShowTraceLog
4 5 add Trace
#Adds 4 and 5, then traces the result.  You should see a 9 appear in the trace log.

Same example in Warp notation:

showtracelog
add(4 5) ->result
Trace(<-result)
crpl/docs/add.1425584293.txt.gz · Last modified: 2015/03/05 14:38 by Karsten75