Rebol Programming/multiply

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

MULTIPLY value1 value2 

DESCRIPTION:[edit | edit source]

Returns the first value multiplied by the second.

MULTIPLY is an action value.

ARGUMENTS:[edit | edit source]

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

SOURCE CODE[edit | edit source]

multiply: native[
    "Returns the first value multiplied by the second." 
    value1 [number! pair! char! money! time! tuple!] 
    value2 [number! pair! char! money! time! tuple!]
]