LibreOffice 24.8 Help
Writes data to a sequential text file with delimiting characters.
Write [#fileNum] {,|;} expression [, …]
fileNum: Any numeric expression that contains the file number that was set by the Open statement for the respective file.
expression list: Variables or expressions that you want to enter in a file, separated by commas.
If the expression list is omitted, the Write statement appends an empty line to the file.
To add an expression list to a new or an existing file, the file must be opened in the Output or Append mode.
Strings that you write are enclosed by quotation marks and separated by commas. You do not need to enter these delimiters in the expression list.
Each Write statement outputs a line end symbol as last entry.
Numbers with decimal delimiters are converted according to the locale settings.