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

declare #process-output has

 
 

Syntax

declare #process-output has (binary-mode | text-mode)

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


Purpose

Usually, #process-output is written to in text mode (this is the default setting). #process-output has allows you to explicitly change the mode in which data is written.

You should always use this declaration in preference to the newline declaration for performing binary input or output.

Usually, #process-output is written to in text mode (this is the default setting for non-UNIX systems) and is buffered. #process-output has allows you to explicitly change the mode in which data is written. Changing both the mode and the buffering is possible, but requires two declare statements.

For example:

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

You should always use this declaration in preference to the newline declaration for performing binary input or output.

    Related Syntax
   #process-output
   newline
 
 
 

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.