Lucee Function Reference

filewriteline()

Opens up the file (or uses the existing file object) and appends the given line of text

Example

filewriteline(any file,string data):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
file any  Yes the file object to which to write the line.  
data string  Yes data to add to the file object.