swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Related Concepts  
operator  

union

 

 

Return type: Integer
Returns:       

A bit sequence.



Syntax
  numeric-expression union numeric-expression


Purpose

The union of two bit sequences is a new sequence where each bit is:

Other languages sometimes refer to this as the "bit-wise or" because the operation is analogous to the logical "or" operation. OmniMark reserves or and the operator | for the logical "or" operation in order to avoid confusion.

This code fragment turns on the lowest order bit in c:

  set c to union 1

      Related Concepts
   Bit-oriented arithmetic
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:56 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.