Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>errorsys</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Errorsys


   When a Clipper program loads, the Errorsys() procedure is
   automatically called before control passes to the main program.  This
   procedure relates to the error system by allowing you to invoke the
   debugger when the application loads.  For example:

      PROCEDURE ErrorSys

      ALTD()

      RETURN

   It, however, can be used as a general initialization procedure where
   you can define system global variables as well as execute any other
   initialization procedures.


------------------------- Example -- Errorsys.prg----------------------------

   ***
   *  ERRORSYS
   *
   *  Clipper error system
   *

   NOTE ALTD()

   RETURN


------------------------- Example -- Alterror.prg -----------------------------

   ***
   *  ALTERROR
   *
   *  Clipper error system.  Debugging version.
   *

   PROCEDURE errorsys

   ALTD()

   RETURN

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