<< ibec_DecompressFile | IBEBlock | ibec_url_DownloadToFile >>

ibec_DecompressVar

Syntax

 function ibec_DecompressVar(Value : variant; Options : string) : string;

Description

ibec_DecompressVar performs decompression of Value (previously compressed with the ibec_CompressVar function) and returns the string that repreent the decompressed content of Value.

Parameters

The Options parameter is reserved for future use.

Example

    execute ibeblock
    as
    begin
      -- Compressing
      MyVar = ibec_LoadFromFile('D:\Script.sql');
      MyVar = ibec_CompressVar(MyVar, '');
      -- Decompressing
      MyVar = ibec_DeCompressVar(MyVar, '');
      ibec_SaveToFile('D:\Script.copy.sql', MyVar, __stfOverwrite);
    end

See also:
ibec_CompressVar

back to top of page
<< ibec_DecompressFile | IBEBlock | ibec_url_DownloadToFile >>