Rebol Programming/complement

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

USAGE:[edit | edit source]

COMPLEMENT value 

DESCRIPTION:[edit | edit source]

Returns the one's complement value.

COMPLEMENT is an action value.

ARGUMENTS[edit | edit source]

  • value -- (Type: logic number char tuple binary string bitset image)

SOURCE CODE[edit | edit source]

complement: native[
    "Returns the one's complement value." 
    value [logic! number! char! tuple! binary! string! bitset! image!]
]