|
|
Manual Page ViewerName: VAR-CASE Section: Flow Control
<var-case &optional [NAME=VALUE] [CONSEQUENT...] [DEFAULT] [DEFAULT-CONSEQUENT]
Description:
For each NAME=VALUE pair, the value of NAME is
string-wise compared with VALUE. If they are identical, then
the corresponding CONSEQUENT code is performed, and its value is
the return value of the
If none of the clauses match, and there is a
For example:
<var-case
action="Save Files" <save-files <get-var posted::files[]>>
action="Delete Files" <delete-files <get-var posted::files[]>>
action="Rename Files" <redirect
rename-files.mhtml?<cgi-encode files>>>
Edit Pointer
![]() The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox Found a bug? Send mail to bug-manual@metahtml.org |