REBOL Programming/complement

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

USAGE:[edit]

COMPLEMENT value 

DESCRIPTION:[edit]

Returns the one's complement value.

COMPLEMENT is an action value.

ARGUMENTS[edit]

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

SOURCE CODE[edit]

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

{{BookCat}}