Jump to content

Rebol Programming/and

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
value1 AND value2 

DESCRIPTION:

[edit | edit source]

Returns the first value ANDed with the second.

AND is an op value.

ARGUMENTS

[edit | edit source]
  • value1 -- (Type: logic number char tuple binary string image)
  • value2 -- (Type: logic number char tuple binary string image)

SOURCE CODE

[edit | edit source]
and: native[
    "Returns the first value ANDed with the second." 
    value1 [logic! number! char! tuple! binary! string! image!] 
    value2 [logic! number! char! tuple! binary! string! image!]
]