Get your own free workspace
View
 

WriteLine

Page history last edited by Gamemaster 3 years, 9 months ago

 

 

WriteLine

Usage:

                WriteLine(Handle, Value)

Description:

The WriteLine command writes a line (some text followed by the CRLF (Carriage Return, Line Feed) characters) to a file, at the current file position. The file position is then advanced to where the line ends in the file.

The Handle parameter is the file handle returned by ReadFile, WriteFile or OpenFile. Value is the text to write to the file.

Example:

                Function Main()
                        F = WriteFile("Test.txt")
                                WriteLine(F, "This text will be readable in Notepad")
                        CloseFile(F)
                        Return()

                End Function

Comments (0)

You don't have permission to comment on this page.