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

File.write()

NES2+Syntax

							file.write(string)

Description

The write() method of the File object writes the string passed to the method 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 that 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