File.WriteString |
Top Previous Next |
Syntax function File.WriteString(F: pointer; Str: string): string
Alternative Names
Description Writes the string Str to the file-stream. To write a string and automatically move to the next line, use File.WriteLn.
See also
Example execute udsblock returns (valueout varchar(1024)) as begin /* create a text file with UTF8 encoding */ fs = File.Create('c:\data\utf8text.txt', __encUTF8); try /* write piece of text */ File.WriteString(fs, 'this is a piece of text'); finally File.Close(fs); end end |