Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Methods of FSO TextStream Object
 Close Method
  Syntax
  Argument
  Remark
  Applied to
 Read Method
  Syntax
  Argument
  Applied to
 ReadAll Method
  Syntax
  Argument
  Remark
  Applied to
 ReadLine Method
  Syntax
  Argument
  Remark
  Applied to
 Skip Method
  Syntax
  Argument
  Remark
  Applied to
 SkipLine Method
  Syntax
  Argument
  Remark
  Applied to
 Write Method
  Syntax
  Argument
  Remark
  Applied to
 Write Method
  Syntax
  Argument
  Remark
  ReqVersion
  Applied to
 WriteBlankLines Method
  Syntax
  Argument
  Applied to
 WriteLine Method
  Syntax
  Argument
  Applied to
 WriteLine Method
  Syntax
  Argument
  Remark
  ReqVersion
  Applied to

VBScript Methods of FSO TextStream Object

Some typical predefined Elements are.

  • FSO Folder Object:
    • Copy Method
    • Delete Method
    • Move Method
    • CreateTextFile Method ≡ TextStream object

Close Method

last updated 16 Dec 2017

is to close the associated TextStream Object.

Syntax

fsostreamobjvar.Close( )

Argument

fsostreamobjvarRequired. to specify the associated Object instance reference.CloseRequired Keyword. to specify the Method of associated Object.

Remark

  • The object is always the name of a TextStream object.

Applied to

TextStream Object

Read Method

last updated 16 Dec 2017

is to read a specified characters number of characters from a file of the associated TextStream Object, and to return the resulting string.

Syntax

fsostreamobjvar.Read(characters)

Argument

fsostreamobjvarRequired. 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 to

TextStream Object

ReadAll Method

last updated 16 Dec 2017

is to read the entire file of the associated TextStream Object, and to return the resulting string.

Syntax

fsostreamobjvar.ReadAll( )

Argument

fsostreamobjvarRequired. to specify the associated Object instance reference.ReadAllRequired Keyword. to specify the Method of associated Object.

Remark

  • For large files, using the ReadAll method wastes memory resources. Other techniques should be used to input a file, such as reading a file line by line.

Applied to

TextStream Object

ReadLine Method

last updated 16 Dec 2017

is 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.

Syntax

fsostreamobjvar.ReadLine( )

Argument

fsostreamobjvarRequired. to specify the associated Object instance reference.ReadLineRequired Keyword. to specify the Method of associated Object.

Remark

  • The object argument is always the name of a TextStream object.

Applied to

TextStream Object

Skip Method

last updated 16 Dec 2017

is to skip a given characters number of characters when reading from a file of the associated TextStream Object.

Syntax

fsostreamobjvar.Skip(characters)

Argument

fsostreamobjvarRequired. 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.

Remark

  • Skipped characters are discarded.

Applied to

TextStream Object

SkipLine Method

last updated 16 Dec 2017

is to skip the next line when reading from a file of the associated TextStream Object.

Syntax

fsostreamobjvar.SkipLine( )

Argument

fsostreamobjvarRequired. to specify the associated Object instance reference.SkipLineRequired Keyword. to specify the Method of associated Object.

Remark

  • The object is always the name of a TextStream object.

Applied to

TextStream Object

Write Method

last updated 16 Dec 2017

is to write a specified string to a file of the associated TextStream Object.

Syntax

fsostreamobjvar.Write(string)

Argument

fsostreamobjvarRequired. 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.

Remark

  • Specified strings are written to the file with no intervening spaces or characters between each string. Use the WriteLine method to write a newline character or a string that ends with a newline character.

Applied to

TextStream Object

Write Method

last updated 10 Dec 2017

is to send strings given str1, str2, …, and strN strings to the script debugger, followed by a newline character..

Syntax

Debug.Write([str1 [, str2 [, … [, strN]]]])

Argument

Debug.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.

Remark

  • The Write method sends strings to the Immediate window of the Microsoft Script Debugger at run time. If the script is not being debugged, the Write method has no effect.
  • The Write method is almost identical to the WriteLine method. The only difference is that the WriteLine method sends a newline character after the strings are sent.

ReqVersion

3

Applied to

Debug Object

WriteBlankLines Method

last updated 16 Dec 2017

is to write a given lines number of newline characters to a a file of the associated TextStream Object.

Syntax

fsostreamobjvar.WriteBlankLines(lines)

Argument

fsostreamobjvarRequired. 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 to

TextStream Object

WriteLine Method

last updated 17 Dec 2017

is to write a given string and newline character to a file of the associated TextStream Object.

Syntax

fsostreamobjvar.WriteLine([string])

Argument

fsostreamobjvarRequired. 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 to

TextStream Object

WriteLine Method

last updated 10 Dec 2017

is to send given str1, str2, …, and strN strings to the script debugger, followed by a newline character.

Syntax

Debug.WriteLine([str1 [, str2 [, … [, strN]]]])

Argument

Debug.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.

Remark

  • The WriteLine method sends strings, followed by a newline character, to the Immediate window of the Microsoft Script Debugger at run time. If the script is not being debugged, the WriteLine method has no effect.
  • The WriteLine method is almost identical to the Write method. The only difference is that the Write method does not send a newline character after sending the strings.

ReqVersion

3

Applied to

Debug Object

©sideway

ID: 180600011 Last Updated: 6/11/2018 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019