< Rebol Programming

USAGE:

XOR~ value1 value2 

DESCRIPTION:

Returns the first value exclusive ORed with the second.

XOR~ is an action value.

ARGUMENTS

  • value1 -- (Type: logic number char tuple binary string image)
  • value2 -- (Type: logic number char tuple binary string image)

SOURCE CODE

xor~: native[
    {Returns the first value exclusive ORed with the second.} 
    value1 [logic! number! char! tuple! binary! string! image!] 
    value2 [logic! number! char! tuple! binary! string! image!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.