Jump to content

Rebol Programming/subtract

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
SUBTRACT value1 value2 

DESCRIPTION:

[edit | edit source]

Returns the second value subtracted from the first.

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