REBOL Programming/multiply

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

Contents

USAGE: [edit]

MULTIPLY value1 value2 

DESCRIPTION: [edit]

Returns the first value multiplied by the second.

MULTIPLY is an action value.

ARGUMENTS: [edit]

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

SOURCE CODE [edit]

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