Jump to content

Rebol Programming/add

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
ADD value1 value2 

DESCRIPTION:

[edit | edit source]

Returns the result of adding two values.

ADD is an action value.

ARGUMENTS

[edit | edit source]
  • value1 -- (Type: number pair char money date time tuple)
  • value2 -- (Type: number pair char money date time tuple)

SOURCE CODE

[edit | edit source]
add: native[
  "Returns the result of adding two values." 
  value1 [number! pair! char! money! date! time! tuple!] 
  value2 [number! pair! char! money! date! time! tuple!]
]