< Rebol Programming

USAGE:

COMPLEMENT value 

DESCRIPTION:

Returns the one's complement value.

COMPLEMENT is an action value.

ARGUMENTS

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

SOURCE CODE

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

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.