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

new-io-exception

 
 

Library: I/O exception support (OMIOE)
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 stream 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
   get-exception-status
   io-exception
   io-exception-text
   new-io-exception
   set-voluntary-end-exception
 
 

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

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

Copyright © Stilo Corporation, 1988-2005.