swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Other Library Functions  
function  

new-io-exception

 
 

Library: I/O exception support (OMIOE legacy)
Include: omioe.xin
Return type: io-exception

Returns:


Declaration

define io-exception function new-io-exception


Purpose

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

      Other Library Functions
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.