|
FileWriteLine
DescriptionAppends
the specified text to the file object.
Function syntaxFileWriteLine(fileobj, text)
HistoryColdFusion
8: Added this function.
Parameters
Parameter
|
Description
|
text
|
Content to add to the file object.
|
fileobj
|
The file object to which to write the line.
|
Example<h3>FileWriteLine Example</h3>
<cfscript>
myfile = FileOpen("c:\temp\test1.txt", "write");
FileWriteLine(myfile,"This line is new.");
FileClose(myfile);
</cfscript>
|