Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>un-compress a string or screen image.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Un-Compress a string or screen image.
------------------------------------------------------------------------------

 Syntax

        GT_RleUnCo(<cCompressed>) --> cString

 Arguments:

      <cCompressed> is a string that has been compressed using
      GT_RleComp().

 Returns:

      The un-compressed version of the string.

 Description:

      GT_RleUnCo() is used to un-compress a string or screen image that
      has been compressed with GT_RleComp().

 Examples:


      // Save the screen and compress it.

      cScreen := GT_RleComp(savescreen())
      ...
      restscreen(0,0,maxrow(),maxcol(),GT_RleUnCo(cScreen))

      // Compress a normal string and print it's length.

      cString := space(1000)
      ? len(GT_RleComp(cString,.F.))

 Source: RLE.C

 Author:  Dave Pearson

See Also: GT_RLECOMP()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson