Home | Javascript validator | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.
Microsoft® JScript®
WriteLine Method
 Scripting Run-Time Reference 
Version 2 

See Also                  Applies To


Description
Writes a specified string and newline character to a TextStream file.

Syntax
object.WriteLine([string])

The WriteLine method syntax has these parts:

Part Description
object Required. Always the name of a TextStream object.
string Optional. The text you want to write to the file. If omitted, a newline character is written to the file.

Remarks
The following example illustrates use of the WriteLine method:

var fso, f;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.CreateTextFile("c:\\testfile.txt", true);
f.WriteLine("This is a test.");
f.Close();

Home | Javascript validator | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

В строительную фирму нужен сметчик . Работа удаленная на дому.