All Things Ubuntu Library Wiki
Ubuntu dedicated Object Pascal libraries
Brought to you by:
krisjacewicz
Use this function to save the content of TStringList object into a file. It will not raise any exception at runtime, instead its return value will let you evaluate whether or not the operation was successful.
Function SaveToFile(const SL: TStringList; const fn: string): Boolean;
Returns true if the content of TStringList object is successfully saved into a file specified. Otherwise it returns false. Most possible reasons for the function to fail (return false) are: