htp on-line reference: BLOCK, /BLOCK


Syntax

<BLOCK blockname>
text block
</BLOCK>

Synopsis

BLOCK and /BLOCK are used to create block macros, which are similar in use to SET macros, but can be multi-line definitions.

Any text and formatting may be set inside the block, including FILE INCLUDE and conditional operators.

The block macro is dereferenced (expanded) exactly as a SET macro, with the USE tag. Block macros cannot be dereferenced inside another tag using the '$' operator, however.

See the notes on the USE tag on how to pass parameters to a block macro.


Table of Contents

htp on-line reference / http://maths.newcastle.edu.au/~rking/htp/ref/
Author: Jim Nelson / No email available
Maintainer: Robert King / robert.king@newcastle.edu.au

Copyright © 1995-96 Jim Nelson.
Permission to reproduce and distribute this hypertext document granted according to terms described in the Introduction

Last updated Mon Sep 23, 1996