Sends strings to the script debugger, followed by a newline character.
|
---|
Debug.writeln([str1 [, str2 [, ... [, strN]]]]) |
Arguments
-
str1, str2, ... , strN
-
Optional. Strings to send to the script debugger.
Remarks
Example
This example uses the writeln method to display the value of the variable in the Immediate window of the Microsoft Script Debugger.
Note |
---|
To run this example, you must have a script debugger installed and the script must run in debug mode. For more information, search MSDN (http://msdn.microsoft.com) for the title "Introducing Microsoft Script Debugger".
|
| Copy Code |
---|
var counter = 42;
Debug.writeln("The value of counter is " + counter); |
Requirements
See Also