WRITE |
WRITE([#] filenumber, [outputlist]) |
Writes data to a file opened with Sequential access. |
filenumber | The number of the file (Integer). |
outputlist | (Optional) The comma delimited data to insert into the file. |
REMARKS |
* For an example refer to the page under Writing Text Files * If you end the statement with a semicolon, then a carriage return/line feed sequence is not inserted after each value. * Data written to a file using this statement is usually read using the Input Statement * Writes data to the Open sequential file associated with the filenumber. * You can use the OPEN statement to open a text file. * You can use the CLOSE statement to close a text file. * You can use the PRINT statement to write data to a file opened with Sequential access (display-formatted). * The equivalent .NET function is Microsoft.VisualBasic.FileSystem.Write * For the Microsoft documentation refer to learn.microsoft.com |
Write #1, "four,five,six"
Write #1, 'writes a blank line to the file
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top