When instantiated the [zip] type creates a zip archive object. Requires a string parameter as the filepath to the zip archive. An optional second octal integer parameter denotes a flag to use that represents an action to be performed on the zip archive. The following actions are performed when the sum of the octal values is passed as the optional parameter. For example, if 3 were the parameter, then a zip file would be created unless the archive already existed. if omitted, the default flag value is 0.
zip('Filepath to Zipfile')
zip('Filepath to Zipfile', Integer flag)
zip('Filepath to Zipfile', Defined Constant)
Use the [zip] type. See this type's methods for additional usage examples.
Code
local(z = zip('/path/to/zipfile.zip'))
Result
A zip object is instantiated.
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments