swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:10 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.