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
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 write()
    Short Writes a string to a text file
    Syntax WRITE(t : INTEGER; s : STRING) : STRING
    Parameter t : text handle from REWRITE or TAPPEND
    s : STRING
    Return s (is returned unchanged)
    See also:
    rewrite() tappend() writeln()
    Description If t=0, it is written to StdOut.

    Attention: tdbengine works internal in ASCII format. If a file should be written in ANSI format the string must be formatted according to that:

    WRITELN(t,OEMTOANSI(s))

    The better oportunity is to open the file in ANSI mode:

    t:=rewrite(Textdatei,0)
    writeln(t,s)

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