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

declare #process-input has

 
 

Syntax

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

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


Purpose

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

Always use this declaration in preference to the newline declaration for performing binary input or output (I/O).

Usually, #process-input is read from in text mode (this is the default setting for non-UNIX systems) and is buffered. #process-input 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-input has binary-mode
  declare #process-input has unbuffered

Always use this declaration in preference to the newline declaration for performing binary input or output (I/O).

    Related Syntax
   #process-input
 
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.