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 rewrite()
    Short Opens a text file to write
    Syntax REWRITE(path : STRING [;mode : INTEGER]) : INTEGER
    Parameter path : path of the text file
    mode : 0 = ANSI, 1 = ASCII (default)

    if path starts with "ramtext:..." a corresponding ramtext is opened.
    Return text handle of a file.
    See also:
    reset() tappend() close() ramtext()
    Description If error handling of the system has not been deactivated explicitly (.ec 1), the programm terminates if the requested file could not be opened.

    If you start writing into a ramtext you should call the function Ramtext() before the Rewrite() to initialize it.

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