This method writes data to a sequential file.
file.WriteFields [data]
None.
Data written with WriteFields is usually read from a file with InputFields.
If you omit data, a blank line is printed to the file.
When WriteFields is used to write data to a file, several universal assumptions are followed so that the data can always be read and correctly interpreted using InputFields, regardless of locale:
The WriteFields method inserts commas between items and quotation marks around strings as they are written to the file. You do not have to put explicit delimiters in the list. WriteFields inserts a newline character—that is, a carriage return/line feed (Chr(13) + Chr(10))—after it has written the final character in data to the file.