swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
action  

close

 
 

Syntax

close stream-name indexer? (and stream-name indexer?)*


Purpose

The close action explicitly closes a stream. Once a stream that is attached to a file, buffer, referent, markup parser, or external string sink function has been closed, the same stream name can be used to open another attachment.

Streams don't normally need to be closed because:

Several streams can be closed at once.

It is an error to close a stream that is part of any #current-output for any currently open rule or function.

The following syntactic variation is permitted:

    Related Syntax
   #current-output
   open
 
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.