Deutsch English
Alphabetical index
Array functions
  • bitand()
  • bitandnot()
  • bitnot()
  • bitor()
  • bitsum()
  • bittrunc()
  • clrarray()
  • 'DELSESSION'
  • getauto()
  • getmarksauto()
  • high()
  • inarray()
  • inarraypos()
  • initarray()
  • nbits()
  • putmarksauto()
  • 'SETSESSIONIDENT'
  • strsort()
    CGI functions
    Data types
    Date functions
    Debugging
    Fulltext functions
    Language elements
    Numerical functions
    Operators
    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 Array functions
    Function inarray()
    Short checks if number is in an array
    Syntax INARRAY(n : INTEGER; VAR v : INTEGER[]) : 0|1
    Parameter n : any INTEGER-number <> 0
    v : INTEGER-field
    Return 1 : n is in v
    0 : n is not in v
    See also:
    Description Can be used if the marking list is saved in a INTEGER field with PUMARKS.

    Essential is a query via a TBITS field:

    VAR temp : TBITS[];
    ...
    InitArray(temp[filesize(db)]);
    GetMarks(db,temp);
    IF temp[x] THEN ...

    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"}