REBOL Programming/or~

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

USAGE:[edit]

OR~ value1 value2 

DESCRIPTION:[edit]

Returns the first value ORed with the second.

OR~ is an action value.

ARGUMENTS:[edit]

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

SOURCE CODE[edit]

or~: native[
    "Returns the first value ORed with the second." 
    value1 [logic! number! char! tuple! binary! string! image!] 
    value2 [logic! number! char! tuple! binary! string! image!]
]