Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Debugging
Fulltext functions
Language elements
Numerical functions
Operators
Other functions
  • choice()
  • dat2dbf()
  • dbf2dat()
  • execmacro()
  • getsession()
  • 'GETSESSIONIDENT'
  • md5_str()
  • nloop()
  • note()
  • note_a()
  • note_b()
  • note_i()
  • paramstr()
  • todbf()
  • xwert()
    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 Other functions
    Function xwert()
    Short Calculates the n. expression of a list (out of date)
    Syntax XWERT(n : INTEGER; Ausdruck_1; Ausdruck_2; Ausdruck_3; ...) : REAL/STRING
    Parameter n : natural number
    expression_1 ... : any arithmetic expression
    Return expression_n

    At first n is calculated then the n'th expression of the list.

    If n<=0 or n>max (with expression_max is the last entry of the list) the last expression of the list is calculated.
    See also:
    choice()
    Description This function replaces in many cases the SWITCH statement of other programming languages.

    Example:

    XWERT(n,'monday','tuesday','wednesday',...)

    returns for n=1 'monday', for n=2 'tuesday' etc.

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