|   |   | 
| file.writeLines Writes an array of lines to a file | ||||||||||
| Usage | ||||||||||
| file.writeLines [-l] [-a] [-c] <filename:string> <lines:array> | ||||||||||
| Description | ||||||||||
| Writes the array of <lines> to the specified file, separated by a single
linefeed character (see also $lf) unless the -c or -n switches
are used. If the file already exists then it is overwritten with the new data unless the -a switch is used. The lines array is encoded in the UTF-8 character set unless the -l switch is used. | ||||||||||
| Switches | ||||||||||
| 
 | ||||||||||
| See also | ||||||||||
| $file.readlines |