REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: and~

and~  value1  value2

Returns the first value ANDed with the second.

Arguments:

value1 [logic! integer! char! tuple! binary! bitset! typeset! datatype!]

value2 [logic! integer! char! tuple! binary! bitset! typeset! datatype!]

See also:

and   or   xor   or~   xor~  

Description

This is the primary function behind the and operator. It can be used where you want prefix rather than infix notation:

bits: and~ mask 3


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin