Script ECHO Statement |
ECHO "string" [NOCR] The ECHO statement is used to display a character string or variable on the screen. The string can be zero or more characters, variables, or both. A carriage return is included after the string. To suppress it, use the NOCR keyword. For example: _var
= "example" displays This is an example of the ECHO statement. on your screen. The ECHO statement is not used to send commands to an online host (use the SEND statement). The results of ECHO statements and host commands are mixed in the session window and transcript. As a result, it can appear that commands are being sent to the host when they are not. For example, ECHO "Enter your search term:" appears as => Enter your search term: on STN. You may wish to use an extra ECHO to avoid this. For example, ECHO
"" \* outputs a blank line to
the screen appears as => Enter your search term: in the STN session and transcript. |
Copyright
© 2017 American Chemical Society. All Rights Reserved.