swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax    
modifier   referents-allowed    

Syntax

  open stream with referents-allowed ...

   open stream with referents-allowed
     defaulting { string expression } ...

   open stream with referents-allowed
     defaulting { string expression1 ,  string expression2 } ...

   reopen stream with referents-allowed ...

   reopen stream with referents-allowed
     defaulting { string expression } ...

   reopen stream with referents-allowed
     defaulting { string expression1 ,  string expression2 } ...

   set stream with referents-allowed to  ...

   set stream with referents-allowed to ...
     defaulting { string expression } ...

   set stream with referents-allowed to ...
     defaulting { string expression1 ,  string expression2 } ...


Purpose

This modifier allows referents to be written to a stream.

Streams opened (or reopened) using this modifier will not have data written to their attachments (for example, files) until the current referent scope is closed and its referents resolved. If the stream was opened in the global referent scope, referents are not resolved until the program ends, so these referents-allowed streams opened as files should not be used as input to a later part of the program.

You can use the defaulting modifier with referents-allowed to provide default values for every referent.

The contents of streams attached to buffers or referents opened with the referents-allowed modifier, and then closed, can be written only to other streams that were opened with the referents-allowed or referents-displayed modifier.

    Related Syntax
   defaulting
   open
   referents-displayed
   reopen
 
 
----

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

Generated: August 11, 2000 at 3:07:44 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.