Software: SSTP: Directives:
SSTP-ENDIF
Usage:
SSTP-ENDIF
SSTP-ENDIF ends a chain of SSTP-IF, SSTP-ELSEIF, and SSTP-ELSE directives. See the pages for these for more information.
Example:
The code:
<!--SSTP-IF _hello = "yes"-->
Yes!!!!
<!--SSTP-ELSEIF _hello = "maybe"-->
Maybe...Let me think about it.
<!--SSTP-ELSE-->
No way!
<!--SSTP-ENDIF-->
Yes!!!!
<!--SSTP-ELSEIF _hello = "maybe"-->
Maybe...Let me think about it.
<!--SSTP-ELSE-->
No way!
<!--SSTP-ENDIF-->
Would display:
Yes!!!!
if the variable _hello was set to "yes". If it was set to "maybe", it would display:
Maybe...Let me think about it.
if it was set to anything else, it would display:
No way!