contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Referent set nesting depth
Prerequisite Concepts     Related Syntax  

using nested-referents can be nested within other using nested-referents -- and in any case, a using nested-referents is nested within the referent set created for the program as a whole (which is provided by OmniMark by default). Any stream that is opened within a referent set, with referents-allowed, has with it associated a nesting depth which is the current nesting depth at the time the stream was opened.

The nesting depth of a referent that is identified using the referent or referents keywords is always the current nesting depth. The nesting depth of a referent identified by the name of a stream to which the referent is attached may be something other than the current nesting depth.

The fact that referents and streams exist at different levels imposes some constraints on which referents can be written to which streams. In general, the following regulations all come down to "you can't grab the value of a referent before it's defined".

The provisions made above for local referent sets also apply to the "global referent set".

Prerequisite Concepts
     Referents
 
  Related Syntax
   global, local
   open
   referents-allowed
   set referent
   using nested-referents
 
----

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.