contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
declaration/definition   replacement-break    
Sample Code   Related Syntax   Related Concepts  

Syntax

  replacement-break character string condition?


Purpose

Defines a string used to replace a specified character in data content when OmniMark decides to break a line at one of the following:

Typically, space and tab characters are replaced by end-of-line sequences.

The character is a single character expressed as a quoted string; string is the replacing string and condition is an optional condition.

The replacement-break declaration and insertion string can contain only static text, and must contain at least one end-of-line sequence.

An OmniMark program can have any number of replacement-break declarations. However, the conditions must ensure that only one declaration for a given character is valid at any time.

The condition on a replacement-break rule can't contain function calls. This rather extreme provision has been made to avoid the consequences of side-effects within such functions. Two types of side-effect are especially troublesome:

Note that referents may interact with the line-breaking mechanism to prevent optimal results.

Sample Code  
   %c modifiers
 
Related Syntax
   output
   put
   %/
 
Related Concepts
   Line breaking
   Referents and line-breaking
 
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:15 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.