Re: how can I tell if a tstringlist.savetofile has worked?
- From: "Tom de Neef" <tdeneef@xxxxxxxx>
- Date: Sat, 28 May 2005 10:01:23 +0200
"PeterV" <verstapp@xxxxxxxxxxxxxxx> schreef in bericht
news:4297de28$1@xxxxxxxxxxxxxxxxxxxxxxxx
> It appears to not provide a return value. I could do an If fileexists()
> afterwards, but a return value would be more elegant.
>
>
>
try
myStringlist.SaveToFile(anyFile);
except
// handle the exception - the save has failed
end;
Tom
.
- References:
- Prev by Date: Re: Delphi 2005 executes slower?
- Next by Date: Re: How to open a windows folder ?
- Previous by thread: Re: how can I tell if a tstringlist.savetofile has worked?
- Next by thread: Re: how can I tell if a tstringlist.savetofile has worked?
- Index(es):
Relevant Pages
|
|