• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

File.writeln()

NES2+Syntax

							file.writeln(string)

Description

The writeln() method of the File object writes the string passed to the method, followed by a carriage return to the file on which it was invoked. The method returns true if it was successful and false otherwise. You should use the read() or readln() methods to read any string information from other files you want to write. If you need to write binary information, use the writeByte() method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint