Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Debugging
Fulltext functions
Language elements
Numerical functions
Operators
  • B_AND
  • B_NOT
  • B_OR
  • DIV
  • MOD
    Other functions
    Ramtext functions
    Selecting
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex Operators
    Function B_AND
    Short Binary AND
    Syntax numerischer_Ausdruck_1 B_AND numerischer_Ausdruck_2
    Parameter
    Return
    See also:
    B_OR B_NOT
    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


    User comments:
    Write a comment:
    Name
    EMail
    Subject
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat
    irc.tdbengine.org
    #tdbengine

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}