Rebol Programming/complement

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!]
]