[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Bug report: Problems with variables
- From: Uwe Mindrup <nospam@thanx>
- Date: Thu, 8 Jul 1999 09:31:57 +0200
Hi Denis,
>I try with wml-1.7.1 and wml-1.7.2 and can't reproduce your wrong
>output.
oh, very sorry. I had simplified my example one step to much :-/
Here is the corrected example:
template.wml:
---------------------------------
<TITLE>$(Title)$(SubTitle:+: )$(SubTitle)</TITLE>
---------------------------------
The calls are:
#use 'template.wml' Title="foo" SubTitle="Homepage"
resp.
#use 'template.wml' Title="foo"
Now it works, as i described in my further message: the first call
produces correctly: "foo: Homepage" but the second call generates the
wrong "foo$(SubTitle)".
In my original template.wml I use $(PACKAGE_NAME) instead of $(Title),
which is set in my .wmlrc via
-D PACKAGE_NAME="foo"
>This one won't work, variables can not be nested like this. If you
>want such a feature, write it ;-) Too tricky for me.
Oh, no, i don't want to write it. It's too tricky for me, too. ;-)
Best regards,
Uwe
--
Uwe Mindrup Ingersheim, Germany
http://www.mindrup.de/
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com