Wiki Home

Turn On An Error Whenever You Want

Namespace: WIN_COM_API

Have you ever need to insert an error between 2 lines of code and don t know how?
Here is the solution:
Initialize the variable g_debug with the value false.Then write the following instruction
between the two lines:
Where xxx is a variable that has not been initialized.
Whenever you want to turn on the error, write in the command window g_debug=.t.
Contributors Eduardo Díaz Guerrero
Category Tips And Tricks
( Topic last updated: 2004.09.17 01:17:26 PM )