CT_CHARUNPACK

 CHARUNPACK()
 Decompresses (unpacks) a string
------------------------------------------------------------------------------
 Syntax

     CHARUNPACK(<idPackCharacterstring>) --> cString

 Argument

     <idPackCharacterstring>  Designates a string that was previously
     compressed with the CHARPACK() function.

 Returns

     CHARUNPACK() returns an uncompressed string.

 Description

     This function unpacks strings compressed by the CHARPACK() function.
     Notice that the related pack method is automatically recognized.  Since
     we presuppose that the CHARUNPACK() string parameter was compressed
     previously with CHARPACK(), it is assured that the returned string is
     not longer than the maximum permitted under Clipper.

 Example

     The CHARUNPACK() function recreates a string:

     ? CHARUNPACK(CHARPACK("AAAAAAAAAAAA"))   // "AAAAAAAAAAAA"

See Also: CHARPACK()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.