Gzip (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 17: Line 17:
<td>string</td></tr>
<td>string</td></tr>
<tr><th><var>LastModified</var></th>
<tr><th><var>LastModified</var></th>
<td>number</td></tr>
<td>A number of the form . The default is the current date and time.
 
After <var>Gzip</var> stores a value into <var class="term">%string</var>, the <var>LastModified</var> date/time stamp  can be obtained with the <var>[[GunzipDatetimeNS (String function)|GunzipDatetimeNS]]</var> function.
</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<ul>

Revision as of 20:58, 8 February 2012

Compress a longstring with GZIP (String class)

[Introduced in Sirius Mods 7.4]


Syntax

%outString = string:Gzip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]

Syntax terms

%stringstring
lstr lstr
FixedCode Boolean value
LazyMatch Boolean value
MaxChain number
Filename string
LastModified A number of the form . The default is the current date and time.

After Gzip stores a value into %string, the LastModified date/time stamp can be obtained with the GunzipDatetimeNS function.

Usage notes

  • The inverse of Gzip is Gunzip.

Examples

See also