Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>charodd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHARODD()
 Returns characters in the odd positions of a string
------------------------------------------------------------------------------
 Syntax

     CHARODD(<cString>) --> cString

 Argument

     <cString>  Designates the character string from which all the odd
     characters are returned.

 Returns

     CHARODD() returns a character string that contains all the odd
     characters from <cString>.

 Description

     CHARODD() assembles all odd characters within a string into a new
     character string.  This allows you to process variables where screen
     content, consisting of characters and attributes, is saved.  This
     function can then be used in conjunction with functions from the video
     section.

 Note

     .  The first position in a string is 1, and therefore is odd.

 Examples

     .  Assemble all odd characters:

        ? CHARODD("1234a")            // "13a"

     .  Return the expanded text to "normal":

        ? CHARODD("H e l l o ")       // "Hello"


See Also: CHARMIX() CHAREVEN() SCREENMIX() SCREENSTR() STRSCREEN()

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