WriteLine
The Writeline method is very similar to Write method.
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 executed in debug mode,
then the WriteLine method has no effect.
Debug.WriteLine([str1 [, str2 [, ... [, strN]]]])
Example
<!DOCTYPE html>
<html>
<body>
<script language="vbscript" type="text/vbscript">
Dim counter
counter = 42
Debug.WriteLine "The value of counter is " & counter
</script>
</body>
</html>
No comments:
Post a Comment