function
Library: I/O exception support (OMIOE legacy)
Include: omioe.xin |
Returns: |
define io-exception function new-io-exception
This function returns a newly created "io-exception" OMX component which has no bits set in its status.
Example:
; Using "new-io-exception" to re-initialize an "io-exception" object passed to ; a function. define function open-a-file (modifiable stream this-stream, value string this-file-name, modifiable io-exception this-exception) as set this-exception to new-io-exception open this-stream as output-file this-file-name exceptions-to this-exception