swirl
Guide to OmniMark 8   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.