[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: BUG REPORT: Website META Language 1.99.1 (16-Mar-2000)



On Fri, Mar 24, 2000 at 01:00:29AM -0700, Anthony Fok wrote:
[...]
> Yes, indeed, and I am glad that \$(name) works the way it does.  What I was
> wondering was, what if someone wants to things like:
> 
> 	<KBD>EDIT C:\WINDOWS\SYSTEM.INI</KBD>
> 
> where filename="SYSTEM.INI" in this example.  Obviously,
> 
> 	<KBD>EDIT C:\WINDOWS\$(filename)</KBD>
> 
> wouldn't work, and that's a good thing.
[...]

> What I was wondering though, would you like to implement a special case for
> things like \\$(name), similar to what is already implemented for
> \\<newline>, so <KBD>EDIT C:\WINDOWS\\$(filename)</KBD> would work?

No :-)

[...]
> So, my last question is: If you think that implementing \\$(name) is
> bad idea, what would be your way (or the "official" way) to do this?  :-)
>
> (You must be wondering, "What is this guy up to anyway?" eh?  :-)
> I don't know!  Haha, I am just amused that {:\:} would work.  :-)

This will cause problems inside other area substitutions. As with eperl,
you will have trouble inside other eperl constructs.

Your solution with pass 2 is fine, \<suck>$(name) is another one.

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com