REBOL Programming/add

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

ADD value1 value2 

DESCRIPTION:[edit]

Returns the result of adding two values.

ADD is an action value.

ARGUMENTS[edit]

  • value1 -- (Type: number pair char money date time tuple)
  • value2 -- (Type: number pair char money date time tuple)

SOURCE CODE[edit]

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!]
]

{{BookCat}}