|
|
|
|
|
Compress (Function) In french: Compresse Compresses a string or a memory block (buffer) in binary format. Then, the decompression will be performed by Uncompress. // Compresses then decompresses a string Comp is Buffer = Compress("String to compress") Info(Uncompress(Comp))
Syntax
<Result> = Compress(<Character String/Buffer> [, <Type of Compression>])
<Result>: Buffer - Compressed buffer.
- Empty string ("") if an error occurred. ErrorInfo returns the details of the error.
<Character String/Buffer>: Character string or Buffer - Character string to compress.
- Buffer to compress.
<Type of Compression>: Optional Integer constant Type of compression to perform: | | compressGZIP | Compression with the GZIP algorithm. | compressLZW (Default value) | Compression with the LZW algorithm. | compressNone | No compression is performed. | compressShortString | Compression via an algorithm optimized for the short character strings. |
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Sports
[ + ] This example is a sport application used to save your performances. The application calculates the distance, the time, the average speed and the number of calories spent according to the sport. The run is displayed on a map control via markers and an itinerary. The example also includes a server part used to synchronize the user data. This webservice is available in the WEBDEV "WW_Sports" example.
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|