|  | 
 | ||||
|        | |||||
|  | |||||
| Related Syntax | |||||
| declaration/definition | declare #main-output has | ||||
Syntax
declare #main-output has (binary-mode | text-mode) declare #main-output has (binary-mode | text-mode | buffered | unbuffered)
Usually, #main-output is written to in text mode (this is the default setting) and is buffered. #main-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 #main-output has binary-mode declare #main-output has unbuffered
You should always use this declaration in preference to the newline declaration for performing binary input and output.
| Related Syntax | 
Copyright © Stilo International plc, 1988-2008.