User Tools

Site Tools


crpl:docs:add

<- CRPL reference <- Math Commands

add

<-a <-b add ->result

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.txt · Last modified: 2022/07/05 14:07 by Karsten75