> >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
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Tony Blomfield
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than V... Chris Chambers
- RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Jeremy Coulter
- RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Simon Mahony
- [DUG-OFFTOPIC]: NT service pack 4 unistall Alex Kouznetsov
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Kerry Sainsbury
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Mark Derricutt
- RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Dennis Chuah
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Mark Derricutt
- RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Jeremy Coulter
- RE: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Maurice Butler
- Re: [DUG-OFFTOPIC]: Re: Why Delphi is Better Than VB Mark Derricutt
