|
|||||||||
|
|
|||||||||
| Related Syntax | |||||||||
| declaration/definition | declare #main-input has | ||||||||
Syntax
declare #main-input has (binary-mode | text-mode) declare #main-input has (binary-mode | text-mode | buffered | unbuffered)
Usually, #main-input is read from in text mode (this is the default setting). #main-input 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, #main-input is read from in text mode (this is the default setting for non-UNIX systems) and is buffered. #main-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 #main-input has binary-mode declare #main-input has unbuffered
You should always use this declaration in preference to the newline declaration for performing binary input or output.
|
Related Syntax #main-input |
| ---- |