|
|
| |
| Topic complex |
Operators |
| Function |
B_AND |
Short |
Binary AND |
| Syntax |
numerischer_Ausdruck_1 B_AND numerischer_Ausdruck_2 |
| Parameter |
|
| Return |
|
| See also: |
|
| Description |
Both operands are interpreted as 32 bit integer values and a binary AND is applied on them.
Caution: post decimal positions are rounded at first.
Example: 1 B_AND 3 -> 1
|
Example 1:
Check of the table rights for write permission
IF DBRights(db) B_And 2 =0 THEN
CgiWriteLn('No write permission on '+DBName(db))
ELSE
WriteRec(db,RecNo(db))
END
|
Write a comment:
|
|
|