RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.SaveToFile Method

Saves the strings in the list to the specified file.

Pascal
procedure SaveToFile(const FileName: WideString); virtual;
C++
virtual __fastcall SaveToFile(const BSTR FileName);

Call SaveToFile to save the strings in the list to the file specified by FileName. Each string in the list is written to a separate line in the file.

Note: In Linux, SaveToFile saves the strings as they appear in the list. If the last string does not have an end-of-line marker, the resulting file may be considered incomplete by some editors.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!