Source code: ref/block.htp

Table of Contents

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

<BLOCK synopsis>

<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.

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>

The block macro is dereferenced (expanded) with the <A
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


  page source
  htp project
  htp homepage
hosted by
HTML coding Powered by htp
htp on-line reference /
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