FileWriteLine()
Opens up the file (or uses the existing file object) and appends the given line of text
FileWriteLine( file=any, data=string );
Returns: void
Argument | Description |
---|---|
file
any,
required
|
the file object to which to write the line. |
data
string,
required
|
data to add to the file object. |
Examples
openFile = fileopen(filepath,"read");
readfromfile = filereadline(openfile);
filewriteline(filepath,readfromfile);
See also
- File handling
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)