Difference between revisions of "TextOutputStream.WriteLine"
From Xojo Documentation
(→Example) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| ownertype=class | | ownertype=class | ||
| scope=public | | scope=public | ||
− | | parameters= | + | | parameters=data as [[String]] |
| platform=all | | platform=all | ||
}} | }} | ||
{{Description | {{Description | ||
− | |text = Writes the | + | |text = Writes the data passed to the '''TextOutputStream''' and appends the ''Delimiter'' to the end of the line. }} |
− | == | + | ==Notes== |
+ | If WriteLine fails, an [[IOException]] will be raised. | ||
+ | ==Sample Code== | ||
This example displays the Save As dialog box. A text file is then created and the text properties of three [[TextField|TextFields]] are written to the new file. Finally the file is closed. | This example displays the Save As dialog box. A text file is then created and the text properties of three [[TextField|TextFields]] are written to the new file. Finally the file is closed. | ||
Latest revision as of 19:13, 27 January 2022
Method
Writes the data passed to the TextOutputStream and appends the Delimiter to the end of the line.
Notes
If WriteLine fails, an IOException will be raised.
Sample Code
This example displays the Save As dialog box. A text file is then created and the text properties of three TextFields are written to the new file. Finally the file is closed.