ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Archive functions
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Closes an archive.
WINDEVWEBDEV - Server codeUser code (UMC)Ajax
MyArchive is zipArchive
// Open an archive
ResOpenArchive = zipOpen(MyArchive, "C:\Archives\Archive.zip")
 
IF ResOpenArchive = 0 THEN
// Processes
...
// Close the archive
zipClose(MyArchive)
END
Syntax
zipClose(<Archive>)
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Remarks

Use conditions

  • An archive can be closed only if:
    • The archive is opened. Archives are opened with zipOpen.
    • The archive exists. Archives are created with zipCreate.
  • All the archives will be automatically closed when the application is stopped.
  • A WLanguage error occurs if the archive to close does not exist. The program is stopped.
Reminder:
  • LinuxUniversal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst Only ZIP, TAR and TGZ (TAR.GZ) archives are available.
  • AndroidAndroid Widget Java Only ZIP archives are available.
Business / UI classification: Business Logic
Component: wd290zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2023

Send a report | Local help