Library /sys$common/syshlp/basichelp.hlb
WHEN_ERROR

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  The WHEN ERROR statement marks the beginning of a WHEN ERROR  construct.
  The  WHEN ERROR construct contains a protected region and can include an
  attached or detached handler.

  Examples

  WHEN ERROR IN
      INPUT "Enter your hourly rate";hourly_rate%
           .
           .
           .
  USE
      SELECT ERR
           .
           .
           .
      END SELECT
  END WHEN

  WHEN ERROR USE error_trapper
       INPUT "Enter your hourly rate";hourly_rate%
           .
           .
           .
  END WHEN
  HANDLER error_trapper
           .
           .
           .
  END HANDLER

 

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.