WSH » WScript » Echo

Syntax:
WScript.Echo [vntArg1] [,vntArg2] [,vntArg3] ...

The Echo method concatenates its arguments into a space-separated string and displays this string in a Dialog Box (if invoked under wscript), or on the standard output stream (if invoked under cscript). Under cscript, a newline character is appended to the output. This method has no effect if the WScript.Interactive property is False.

Examples

Code:
WScript.Echo("Hello", "world")
Output:
Hello world
Explanation:

This JScript code demonstrates the use of this method.

Language(s): JavaScript

See Also: