Link:http://output.to/sideway/default.asp?qno=180600011 Script, Scripting Language, VBScript elements, Server-Side VBScript Object Element FileSystemObject TextStream Method VBScript Methods of FSO TextStream ObjectSome typical predefined Elements are.
Close Methodlast updated 12/16/2017is to close the associated TextStream Object. Syntaxfsostreamobjvar.Close( ) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.CloseRequired Keyword. to specify the Method of associated Object.Remarks
Applied toTextStream ObjectRead Methodlast updated 12/16/2017is to read a specified characters number of characters from a file of the associated TextStream Object, and to return the resulting string. Syntaxfsostreamobjvar.Read(characters) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.ReadRequired Keyword. to specify the Method of associated Object.charactersRequired. Number of characters you want to read from the file.Applied toTextStream ObjectReadAll Methodlast updated 12/16/2017is to read the entire file of the associated TextStream Object, and to return the resulting string. Syntaxfsostreamobjvar.ReadAll( ) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.ReadAllRequired Keyword. to specify the Method of associated Object.Remarks
Applied toTextStream ObjectReadLine Methodlast updated 12/16/2017is to read an entire line (up to, but not including, the newline character) from from a file of the associated TextStream Object, and to return the resulting string. Syntaxfsostreamobjvar.ReadLine( ) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.ReadLineRequired Keyword. to specify the Method of associated Object.Remarks
Applied toTextStream ObjectSkip Methodlast updated 12/16/2017is to skip a given characters number of characters when reading from a file of the associated TextStream Object. Syntaxfsostreamobjvar.Skip(characters) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.SkipRequired Keyword. to specify the Method of associated Object.charactersRequired. Number of characters to skip when reading a file.Remarks
Applied toTextStream ObjectSkipLine Methodlast updated 12/16/2017is to skip the next line when reading from a file of the associated TextStream Object. Syntaxfsostreamobjvar.SkipLine( ) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.SkipLineRequired Keyword. to specify the Method of associated Object.Remarks
Applied toTextStream ObjectWrite Methodlast updated 12/10/2017is to send strings given str1, str2, …, and strN strings to the script debugger, followed by a newline character.. SyntaxDebug.Write([str1 [, str2 [, … [, strN]]]]) ArgumentDebug.WriteRequired Keywords. The keywords used to specify the Source Property of the Err Object.([str1 [, str2 [, … [, strN]]]])Optionial. Strings to send to the script debugger.Remarks
Requirement3Applied toDebug ObjectWrite Methodlast updated 12/16/2017is to write a specified string to a file of the associated TextStream Object. Syntaxfsostreamobjvar.Write(string) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.WriteRequired Keyword. to specify the Method of associated Object.stringRequired. The text you want to write to the file.Remarks
Applied toTextStream ObjectWriteBlankLines Methodlast updated 12/16/2017is to write a given lines number of newline characters to a a file of the associated TextStream Object. Syntaxfsostreamobjvar.WriteBlankLines(lines) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.WriteBlankLinesRequired Keyword. to specify the Method of associated Object.linesRequired. Number of newline characters you want to write to the file.Applied toTextStream ObjectWriteLine Methodlast updated 12/10/2017is to send given str1, str2, …, and strN strings to the script debugger, followed by a newline character. SyntaxDebug.WriteLine([str1 [, str2 [, … [, strN]]]]) ArgumentDebug.WriteLineRequired Keywords. The keywords used to specify the Source Property of the Err Object.([str1 [, str2 [, … [, strN]]]])Optionial. Strings to send to the script debugger.Remarks
Requirement3Applied toDebug ObjectWriteLine Methodlast updated 12/17/2017is to write a given string and newline character to a file of the associated TextStream Object. Syntaxfsostreamobjvar.WriteLine([string]) ArgumentfsostreamobjvarRequired. to specify the associated Object instance reference.WriteLineRequired Keyword. to specify the Method of associated Object.stringOptional. The text you want to write to the file. If omitted, a newline character is written to the file.Applied toTextStream ObjectOptional Element, Content Occurrence Character, Choice or sequence:(…)+one or more(…)*zero or more(…)?zero or one times(…)exactly once[…]optional(… | …)or( … & …)and( …, … )sequence⋯=⋯assign to⋯.⋯dot notation(+)include(-)exclude
|
Sideway BICK Blog 11/06 |