> >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

Reply via email to