REBOL Programming/subtract

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

USAGE:[edit]

SUBTRACT value1 value2 

DESCRIPTION:[edit]

Returns the second value subtracted from the first.

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

subtract: native[
    {Returns the second value subtracted from the first.} 
    value1 [number! pair! char! money! date! time! tuple!] 
    value2 [number! pair! char! money! date! time! tuple!]
]