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
|
edit
the file object to which to write the line. |
|
data
string,
required
|
edit
data to add to the file object. |
Examples
editopenFile = fileopen(filepath,"read");
readfromfile = filereadline(openfile);
filewriteline(filepath,readfromfile);
See also
- File handling
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)