HTP

Source code: ref/block.htp

Table of Contents
  htp.def
  macros.def
  htp.htt

<BLOCK syntax>
<BLOCK NAME="blockname" [GLOBAL] [EXPAND]>
text block
</BLOCK>
</BLOCK>

<BLOCK synopsis>

<P>
<STRONG>BLOCK and /BLOCK</STRONG> are used to create block macros, which
are similar in use to <A HREF="set.html">SET</A> macros, but can be
multi-line definitions.
</P>

<P>
Any text and formatting may be set inside the block.  You can use any
htp or user defined metatag including <A HREF="file.html">FILE
INCLUDE</A>.  The metatags won't be expanded before the block is USEd
except if you give the <A HREF="expand.html">EXPAND</A>
parameter.
</P>

<P>
The block macro is dereferenced (expanded) with the <A
HREF="use.html">
USE tag or the '$' operator</A>.  See the notes on the
<A HREF="use.html">USE</A> tag on how to pass parameters to a block
macro.

</P>
</BLOCK>

  page source
  htp project
  htp homepage
hosted by
SourceForge.net
HTML coding Powered by htp
htp on-line reference / http://htp.sourceforge.net/ref/
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller.
Maintainers: Jochen Hoenicke.

Copyright © 1995-96 Jim Nelson.
Copyright © 2001-2003 Jochen Hoenicke.
Permission to reproduce and distribute this hypertext document granted according to terms described in the License section.

last updated Tue Feb 22, 2011