[Templates] How to report on non-existent macros?

Mark Anthony manthony1@iname.com
Sun, 29 Apr 2007 23:10:28 -0500


This is a multi-part message in MIME format.

--_----------=_1177906228237840
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Another newbie question. I found the MACRO directive, and it does what I
need: replacing a collection of macros into multiple lines. Each macro
gets replaced by 2 to 5 lines, so I put all the macros into 1 file and
then [% PROCESS ... %] to pull in the macro-definition file.

This works great. Then I got a question from another user which I can't
seem to find an answer to: What if the user mistyped the name of a macro?
Can I get some kind of error for an undefined macro?

Any help?

Thanks
Mark

--_----------=_1177906228237840
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"

Hi,<br><br>Another newbie question. I found the MACRO directive, and it doe=
s what I need: replacing a collection of macros into multiple lines. Each m=
acro gets replaced by 2 to 5 lines, so I put all the macros into 1 file and=
 then [% PROCESS ... %] to pull in the macro-definition file.<br><br>This w=
orks great. Then I got a question from another user which I can't seem to f=
ind an answer to: What if the user mistyped the name of a macro? Can I get =
some kind of error for an undefined macro?<br><br>Any help?<br><br>Thanks<b=
r>Mark<br><br>
<div>

</div>
<BR>

--=20
<p>
<a href=3D"http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=3Den-mail_a_=
01" target=3D_blank>
<img alt=3D"" src=3D"http://a8-asy.a8ww.net/a8-ads/adftrview?redirectid=3De=
n-mail_i_01" border=3D"0"></a>
</p>

--_----------=_1177906228237840--