swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax    
modifier   defaulting    

Syntax

  open  stream-name indexer? with referents-allowed
       defaulting { string expression } ...
       as attachment

  open  stream-name indexer? with referents-allowed
       defaulting { string expression1 , string expression2 } ...
       as attachment

  reopen  stream-name indexer? with referents-allowed
       defaulting { string expression } ...
       as attachment

  reopen  stream-name indexer? with referents-allowed
       defaulting { string expression1 , string expression2 } ...
       as attachment


Purpose

This modifier allows a programmer to provide a definition (default value) for every referent that's written out. A defaulting declaration can be specified with referents-allowed in an open or reopen action. There are two possible forms, either as one string expression or two, and these provide an effective value for referents as follows:

The defaulting part used to provide the effective value of an undefined referent is the defaulting part associated with the "final destination" of the referent.

    Related Syntax
   open
   referents-allowed
   reopen
 
 
----

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

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

Copyright © OmniMark Technologies Corporation, 1988-2000.