swirl Guide to OmniMark 6   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
   silent-referent
 
 
----

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:15 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.