In my program, I'm using TZipper to generate zip files with contents I add to the files.
When I first used it, I simply adapted example code, but I notice that TZipper needs a declaration of the filename when initialised, like this example in my program:
ZIPFIL.FileName:=TPATH+'\Test.zip';
But then later on, when it comes to saving the TZipper file, this line is used:
ZIPFIL.SaveToFile(TPATH+'\Test.zip');
If the filename is stated in .SaveToFile, does it really need to be also stated in .FileName too? Or can I omit the .FileName?