Rebol Programming/negate

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

USAGE:[edit | edit source]

NEGATE number 

DESCRIPTION:[edit | edit source]

Changes the sign of a number.

NEGATE is an action value.

ARGUMENTS:[edit | edit source]

  • number -- (Type: number pair money time bitset)

SOURCE CODE[edit | edit source]

negate: native[
    "Changes the sign of a number." 
    number [number! pair! money! time! bitset!]