"Geir Magnusson Jr." <[EMAIL PROTECTED]> writes:

> Theo Keyzer wrote:
> > 
> > I looking into the Anakia part and I am missing some tricks.
> > Maybe you solved them, just checking.
> > 
> > 3) For our next trick, lets interpolate a.... VelociMacro!
> > 
> >    #macro( interpfoo )
> >      Hi, I'm a VM!
> >    #end
> > 
> >    #set $mac = "interpfoo"           ## actually data from the xml
> >    #set $ivm = "#{$mac}()"
> >    $ivm
> >
> 
> That was discussed briefly and rejected as downright *too* scary. 
> Starting to smell like Perl or something :)
> 
> > output :
> > 
> > 
> >    Hi, I'm a VM!
> > 
> > Also if $a is foo and $b is bar then
> > 
> >  #set $f = "${$a}.{$b}()"
> >  $f
> > 
> > Will this call the function $foo.bar ?
> 
> Same thing - alas no.
> 
> But you did get me thinking - Is this really a desireable feature to
> have?

I believe the words are "hell no".

Daniel

Reply via email to