You can also save/load sql queries to/from a text file when debugging :-)
-----Original Message-----
From: Dennis Chuah [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 13 May 1999 16:55
To: Multiple recipients of list offtopic
Subject: RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB
> >The IDE has a window in which you can type a line of code that it will
> >execute. You can also do this (to a certain degree) in Delphi, but it is
> >not documented and the interface is not as good.
>
>
> How can you do this in Delphi? Or do you mean the Evaluate window?
In the watches window. Eg.
var
tsl: TStringList
add a watch i the window ...
tsl.SaveToFile ('c:\temp\somename.txt')
will cause the contents of the string list to be saved on to the specified
file. Beware, this executes everytime you step through the code (or on a
break point).
Dennis.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz