CT_CHARNOT

 CHARNOT()
 Complements each character in a string

 Syntax

     CHARNOT(<cString>) --> cString

 Argument

     <cString>  [@]  Designates the string that is negated.

 Returns

     The processed <cString> is returned.

 Description

     This function negates each bit in <cString>.  This makes it possible to
     get a decreasing index sequence.

 Note

     .  The returned value of this function can be suppressed by
        implementing CSETREF() to save room in working memory.

 Example

     When a character string that has already been negated is negated again,
     the result is identical to the original:

     CHARNOT("123ABCabc")     // "     .. "
     CHARNOT("      ..")      // "123ABCabc"

See Also: CHARAND() CHARXOR() CHAROR() COMPLEMENT() CSETREF()

 

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.