Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Fulltext functions
Language elements
Numerical functions
Other functions
Ramtext functions
Socket functions
Statistical functions
Stream functions
String functions
System functions
Table functions
Text functions
  • close()
  • convline()
  • eot()
  • read()
  • readln()
  • reset()
  • rewrite()
  • tappend()
  • write()
  • writeln()
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex Text functions
    Function tappend()
    Short Opens a text file to append text
    Syntax TAPPEND(path : STRING [; mode : INTEGER]) : INTEGER
    Parameter path : path of a text file
    mode : 0 -> ANSI, 1 -> ASCII (default)
    Return 0, if opening failed, else handle of a text file
    See also:
    reset() rewrite()
    Description TAPPEND expects an existing text file. These is opened to write; new text is added at the end of the file. That is why TAPPEND is well suited for LOG files.

    In opposite to REWRITE no new file is created.

    Important: If TAPPEND failed, the corresponding file can exist nevertheless. It can be opened (by another process) allready.
    Thus you should always check TDB_LastError in case of an error.

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