swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
operator  

| (or)

 
 

Return type: Switch
Returns:       True or false.

Syntax

switch expression | switch expression
    


Purpose

The operator | is a logical operator that evaluates to true if either or both of the operands evaluates to true. If both evaluate to false, then the result of | is also false. If the left-hand operand evaluates to true, the second is not evaluated.

For example:

  do when a < b | c < d
     output "Hello, World!%n"
  done
          

The keyword or is a deprecated form of |.

    Related Syntax
 
Related Concepts
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.