home
software
resumé
contact
Software: SSTP: Directives: SSTP-FUNC

Usage:

SSTP-FUNC

SSTP-FUNC calls a function previously defined with SSTP-DEFFUNC and SSTP-ENDFUNC.

Example:

The code:

<!--SSTP-DEFFUNC say_hello _hello-->
<a href="hello.thtml"><!--SSTP-WRITE _hello--></a>
<!--SSTP-ENDDEF-->
<!--SSTP-FUNC say_hello "Aloha!"-->
<!--SSTP-FUNC say_hello "Bonjour!"-->

Would output:

<a href="hello.thtml">Aloha!</a>
<a href="hello.thtml">Bonjour!</a>