Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
TRY Macro
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  TRY
 
  Remarks
 
  Identifies a block of code that might throw exceptions. Those exceptions
  are handled in the following CATCH and AND_CATCH blocks. Recursion is
  allowed: exceptions may be passed to an outer TRY block, either by
  ignoring them or by using the THROW_LAST macro.
 
  NOTE: The TRY block is defined as a C++ scope (delineated by curly
        braces). If you declare variables in this scope, remember that
        they are accessible only within that scope.
 
  See Also
 
  THROW, CATCH, AND_CATCH, END_CATCH
 
 
                                     -♦-