Deutsch English
Alphabetical index
Array functions
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
  • chdir()
  • chmod()
  • compile()
  • copyfile()
  • delfile()
  • delident()
  • dirinfo()
  • diskfree()
  • DO
  • execprog()
  • firstdir()
  • flush()
  • getdir()
  • getenv()
  • getident()
  • getpara()
  • getsize()
  • halt()
  • isfile()
  • makedir()
  • nextdir()
  • pause()
  • privdir()
  • remdir()
  • rename()
  • setcgilog()
  • setident()
  • setpara()
  • testident()
  • timeout()
  • today()
  • varname()
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex System functions
    Function varname()
    Short Returns the declaration name of a variable
    Syntax VARNAME(VAR x) : STRING
    Parameter x : any EASY variable
    Return Name of the variablen
    See also:
    Description Example:
    VAR address : STRING
    VAR income : REAL
    ...
      VarName(address) -> 'address'
      VarName(income)  -> 'income'
    

    At the value parameters always the parameter name is returned
    PROCEDURE ParameterTest(x : REAL) : STRING
      RETURN VarName(x)
    ENDPROC
    
    ParameterTest(income) -> 'x'
    


    Bei Referenzparamtern wird hingegen der Name der Variablen im Aufruf zurückgeliefert:
    However at reference parameters the name of the variable in calling is returned:
    PROCEDURE ParameterTest(VAR x : REAL) : STRING
      RETURN VarName(x)
    ENDPROC
    
    ParameterTest(income) -> 'income'
    

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