swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
control structure  

using output as

 
 

Syntax

  using output as stream-name indexer? (with 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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1 Documentation Generated: December 19, 2003 at 12:47:00 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2003.