swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax   Related Concepts  
control structure   using output as    

Syntax

  using output as stream-name indexer? open-modifiers?
     (&stream-name indexer? open-modifiers?)*
     action


Purpose

The using output as prefix causes the named streams to be the new current output set during the action contained in the prefix. (Note that the named streams must be currently open.)

Only the following modifiers are permitted with using output as:

  1. a string expression containing the element content format modifiers
  2. the binary open modifier

Action is the action that falls under the control of the using prefix. If the action contains a %c operator, all the element content indicated by the %c is written to the named streams unless a put, set or another using output as prefix is encountered.

using output as is more useful when a number of actions all write to the same streams.

The following variations are permitted:

    Related Syntax
   &, and
   binary
   put
   set
 
Related Concepts
   Output
 
----

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

Generated: August 11, 2000 at 3:08:09 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.