REBOL Programming/complement

USAGE:Edit

COMPLEMENT value 

DESCRIPTION:Edit

Returns the one's complement value.

COMPLEMENT is an action value.

ARGUMENTSEdit

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

SOURCE CODEEdit

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

{{BookCat}}
Last modified on 27 October 2012, at 22:15