swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
declaration/definition  

declare #main-output has

 
 

Syntax

declare #main-output has (binary-mode | text-mode | buffered | unbuffered)
    


Purpose

By default, #main-output is written to in text mode: this is the default setting. Additionally, by default #main-output is buffered. declare #main-output has allows this behaviour to be changed explicitly. Changing both the mode and the buffering is possible, but requires two declarations.

For example:

  declare #main-output has binary-mode
  declare #main-output has unbuffered
          

This declaration should always be used in preference to the newline declaration for performing binary input or output.

    Related Syntax
 
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.