| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: DEFINE-TAG

Section: Macro Commands

Synopsis:

`<define-tag NAME [NAMED-PARAMETER...] [PACKAGE=PACKAGE-NAME] [WHITESPACE=DELETE]>
%body
</define-tag>`

Description:

Define NAME as a simple tag. Within BODY, the values of `%0...%9` are defined to be the positional arguments that were found in the opening tag of the invocation, and `%body` is all of that material in a single string.

If any NAMED-PARAMETERs are supplied, the values that were passed in the opening tag are evaluated and bound to the named parameters.

A keyword argument of PACKAGE-NAME wraps the entire body of the macro in an `in-package` statement.

The keyword argument WHITESPACE can be set to the string `delete` to remove whitespace from the starts and ends of lines in the subst definition before it is stored. This effectively concatenates all of the lines of the subst definition into a single long line.

Also see `define-function` and `define-container`.

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com