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>chareven()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHAREVEN()
 Returns characters in the even positions of a string
------------------------------------------------------------------------------
 Syntax

     CHAREVEN(<cString>) --> cString

 Argument

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

 Returns

     CHAREVEN() returns a string containing all the even characters of
     <cString>.

 Description

     CHAREVEN() assembles all even characters within a string into a new
     character string.  This allows you to process variables consisting of
     the characters and attributes of a video screen's contents very simply.
     This function can be implemented in conjunction with functions from the
     video section.  You can return the attributes from a screen string, with
     all the characters removed.

 Note

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

 Examples

     .  Assemble all even characters:

        ? CHAREVEN("1234a")              // "24"

     .  Return the expanded text to "normal":

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


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

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