""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
TAKE FULL ADVANTAGE OF THE DEBUG SETTING
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
PRODUCT : R:BASE VERSION : 3.1
CATEGORY : PROGRAMMING SUBCATEGORY : TOOLS
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Take full advantage of the DEBUG setting by putting the following code
at the top of every program:
SET MESSAGES OFF
SET ERROR MESSAGES OFF
DEBUG SET MESSAGES ON
DEBUG SET ERROR MESSAGES ON
The last two SET commands execute if DEBUG is ON. The following code
clears variables if DEBUG is OFF:
SET VAR vdebug = (CVAL('DEBUG'))
IF vdebug = 'OFF' THEN
CLEAR VAR v1, v2, v3, ...
ENDIF