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

is attached

 
 

Return type: Switch
Returns:        true if the stream is attached to a destination and false otherwise. Replacing is with isnt will reverse the result.

Syntax

stream-name (is | isnt) attached 

or

#current-output (is | isnt) attached 

or 

#current-input (is | isnt) attached 
    


Purpose

is attached is a a stream test used to determine whether a stream is attached to a destination.

Usage Notes

A stream can have three states:

When a stream is attached, its destination can be any one of five types:

The is attached test can also be applied to #current-input, to determine when #current-input can supply data to a string sink or markup sink.

    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.