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?
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Dakota tribal wisdom: "when you discover you are riding a dead horse,
the best strategy is to dismount."