$not
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
$not
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Performs a bit-wise NOT of a value.
Syntax
$not(char)
Parameters
char | a 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
Updated
ByJason Lee
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