$not

$not

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$not

$not

Performs a bit-wise NOT of a value.

Syntax

$not(char)

Parameters

chara character string, or an expression that evaluates to a character string

Return Value

Character string.

Comments

The $not function reverses the bit pattern of a single character in the fashion of a Boolean NOT and returns the resulting character.

If the char string contains more than one character, only the first character in the string (one byte) is processed. Char can be expressed as a hex code.

Example

$not(“E”)

The bit pattern of hex 0E is 00001110. The above expression reverses the bit pattern to 11110001 (hex F1).

See Also

$and

$or

About Character Literals

About Functional Expressions

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish