CompressString()

Syntax

Result = CompressString(String$)
Description
Compress the specified string and returns a new compressed buffer.

Parameters

String$ The string to compress.

Return value

Return the compressed buffer if it success, zero otherwise.

Example

  String$ = "Test "+Space(1000)+"End"
  *Compressed = CompressString(String$)
  Debug "Compressed size (from " + Len(String$) + " bytes): "+MemorySize(*Compressed)

See Also

UncompressString()

Supported OS

All

<- CompressMemory() - Packer Index - UncompressMemory() ->