swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax   Related Concepts  
operator   is attached    

Return type: Boolean
Returns:       

Returns true if the stream is attached to an object and false otherwise. Replacing is with isnt will reverse the results.



Syntax
  stream-name (is | isnt) attached 


Purpose

A stream test used to determine whether a stream is attached to an object.

Usage Notes

A stream can have three states: unattached (initial state), opened or closed.

Streams may be attached to any one of five objects:

  1. Buffers
  2. Files
  3. Referents
  4. External output functions
  5. #markup-parser

The association between an object and the attached stream can be broken using discard. If the stream was attached to a buffer, discard destroys the buffer.

    Related Syntax
   close
   discard
   open
   reopen
   set
   set stream
   set buffer
   is closed
   is open
   set file
   set referent
 
Related Concepts
   Streams: attachments
 
----  

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:23 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.