Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Fulltext functions
Language elements
Numerical functions
Other functions
  • choice()
  • dat2dbf()
  • dbf2dat()
  • execmacro()
  • getsession()
  • md5_str()
  • nloop()
  • note()
  • note_a()
  • note_b()
  • note_i()
  • paramstr()
  • todbf()
  • xwert()
    Ramtext functions
    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:
    Description This function replaces in many cases the SWITCH statement of other programming languages.



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

    User comments:
    Write a comment:
    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

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