echo()
Echo returns value of a string variable
Syntax
echo(Value)
| Name | Description | Type | Required |
|---|---|---|---|
| Value | Variable or value that is to be echoed | variable or string | yes |
Examples
sVal = value(10.23)
echoVal = echo(sVal)
returns "10.23"
installDir = echo("$HPEESOF_DIR")
returns the product installation directory
See Also
Notes/Equations
The echo function is used to echo a string argument to the terminal and returns it as a value. It can specifically be used to echo System Environment variables such as HOME, TMP, HPEESOF_DIR, etc. The returned string text can then be printed in the data display. This function is similar to the Operating System echo function.
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()