contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Streams: open streams in local scopes
Prerequisite Concepts     Related Syntax  

When a local scope exits, any open streams declared in that local scope are automatically closed, just as any open global streams are automatically closed when the program ends.

However, it is an error to close a stream which is in any #current-output set (active or saved). In those cases output-to should be used before the end of the local scope to change the current output set to a stream (or streams) which is not declared in that local scope.

Prerequisite Concepts
     Arrays
   Scope of variables
 
  Related Syntax
   open
   output-to
 
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:00:52 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.