[ZPT] Is this slot filled?

Evan Simpson evan@digicool.com
Sat, 5 May 2001 15:24:41 -0500


From: "Lalo Martins" <lalo@hackandroll.org>
> Is there any way I can know, inside a macro, if slot X was filled?

Not directly, though you could define a global variable above the macro
use, or a local variable on a tag enclosing the macro use.

Since macros are processed before any TAL gets executed, it might make
sense to have some kind of builtin variable from which you can extract
information about macros used and slots filled (or unfilled).  This will
require some thought, since the information appears to be primarily
useful in macro definitions.

Cheers,

Evan @ digicool