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 to a clipper numeric value</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UN-Compress a String to a Clipper Numeric value
------------------------------------------------------------------------------

 Syntax

        <numeric> := GT_UnCompN(<string>,<size>)

 Arguments:

      <str>     - Character String to uncompress
      <size>    - Number of Bytes of string to uncompress (1/2/4/8)

 Returns:

      <numeric> - Clipper value uncompressed

 Description:

      This function works hand-in-hand with GT_CompN(), this function
      uncompress's strings that have previously been compressed.


 Examples:

      #include "gt_compn.h"

         s_w := GT_CompN( w, GT_BYTE)
         s_x := GT_CompN( x, GT_INT )
         s_y := GT_CompN( y, GT_LONG)
         s_z := GT_CompN( z, GT_DOUBLE)

         * Display the Values that were Stored

         ? GT_UnCompN( s_w, GT_BYTE)
         ? GT_UnCompN( s_x, GT_INT )
         ? GT_UnCompN( s_y, GT_LONG)
         ? GT_UnCompN( s_z, GT_DOUBLE)


 Source: GT_UCMPN.C

 Author:  Brian Dukes

See Also: GT_COMPN()

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