|
|
||||
![]() | ||||
Syntax: .ECHO [value]
The .ECHO command simply outputs whatever values are passed
to it. Its main purpose is to insert the results of a
calculation or the value of a
variable into the HTML code.
Any unquoted spaces in the value are ignored.
Examples:
<!--.echo "Is there an echo in here?"--> Is there an echo <!--.echo "in here?"--> 2+2 = <!--.echo 2 + 2--> <!--.set name="John Jacob Jingleheimer Schmidt"--> <!--.echo "Welcome to the home page of $name!"-->Is there an echo in here?
Is there an echo in here?
2+2 =Script syntax error:
>>> + <<< syntax error at EOF
.echo 2 + 2
Welcome to the home page of John Jacob Jingleheimer Schmidt!
![]()
Home | Directories | Web Email | Calendar | Campus Map | Search | Help
About the College |
Admission |
Academics |
Student Life |
Athletics Copyright © 1998 Mount Holyoke College. This page created by Dan Wilga and maintained by Webmaster. Last modified on March 31, 1998. |