Adds string to the archive.
procedure AddFromString(FileName: String; Text: String; Attr: Integer = faArchive; DateTime: TDateTime = 0);
Description
Use AddFromString to compress string to the file inside the archive.
The FileName parameter specifies file name that will be used to store string.
The Attr parameter specifies file attributes which will be assigned to the stored file.
The DateTime parameter specifies file date and time which will be assigned to the stored file.
Note: If some errors occurs an exception will be raised.
|
|