Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

ON ERROR

Designate a method as an error handler for the class
---------------------------------------------------------------------------------

 Syntax

        ON ERROR <MethodName>( [<params,...>] )  

 Arguments

        <MethodName>    Name of the method to define      

        <params,...>    Optional parameter list    

 Description

      ON ERROR is a synonym for ERROR HANDLER.  It names the method that
      should handle errors for the  class being defined.

 Examples

  
      CLASS TWindow
         ON ERROR  MyErrHandler()
      ENDCLASS
  

Status

      Ready

 Compliance

      ON ERROR is a Harbour extension.

 Platforms

      All



See Also: Object Oriented Programming ERROR HANDLER CLASS METHOD DATA

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson