|  | 
 | ||||
|        | |||||
|  | |||||
| 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
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 | 
Copyright © Stilo International plc, 1988-2008.