CloseZip

Family: File · One form

What it does

CloseZip makes something happen at once: it closes. It takes zipID (an integer), and returns nothing. zipID is the id of a Zip object, the one CreateZip returned: it is how the call knows what to act on.

Syntax

CloseZip(zipID integer)

Parameters

NameType
zipIDinteger

Every form returns

nothing

Example · generated

zip = CreateZip("assets/data.dat")CloseZip(zip)DO  Sync()LOOP

CreateZip is there to give the call something to act on; CloseZip is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

Related commands

61 commands in File