Print a string.
echo string
string |
The string to print. |
This command prints an expression.
This command only applies when you are using the debugger in command-line mode. It has no effect when you are using the Console window in the GUI.
You can include nonprinting characters in the string using C escape sequences such as \n to print a newline.
The debugger does not print a newline unless you specify one.
Typing a space does not require a backslash.
As in C, you can use a backslash at the end of text to continue the command onto subsequent lines.
The following example illustrates using a backslash at the end of text to continue the command onto subsequent lines:
echo This text\n\ occupies\n\ multiple lines.\n
produces the same output as
echo This text\n echo occupies\n echo multiple lines.\n
Copyright © 2001-2011, Intel Corporation. All rights reserved.