[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Using DEBUG option



Try using:

#DEFINE DEBUGD 1

This should work.

Kenny

-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Thursday, May 11, 2000 2:19 PM
To: SQR-USERS@list.iex.net
Subject: Using DEBUG option


Is there a way to turn ON the debug option from withing the SQR itself?
Or, is this something that must be done from the command line with the
-DEBUG
flag ?
I get the impression from the manuals that you can do this with the #DEFINE,
but
I don't know how.
Can anyone help me with this?

As an example, I have the following code in a SQR:

#IFDEF DebugD
   display 'SQL: Statement ='
   display $SQL_Statement
#ENDIF

I need to know how to make it do the displays by setting the  DebugD

As always, thanks for your help!