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

File.OpenAsTextStream()

JScript3.0+Syntax

							file.OpenAsTextStream(iomode, format)

Description

The OpenAsTextStream method is used to open a specified text stream that can be used to read or write to a file. This method takes two parameters. The first parameter, iomode, specifies the mode for the file. Valid modes are ForReading, ForWriting, and ForAppending. The second parameter, format, specifies the format of the file. The default value is ASCII, however you can have one of the three settings shown in Table 9.11.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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