velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uday Kumar" <u...@eself.com>
Subject Re: Can I write a macro that can call itself?
Date Fri, 13 Jul 2001 03:01:44 GMT
u know what..... i did try that.... infact, i made some error somewhere else
and so, i cud not get the result... thats the reason i got a doubt whether i
can have recursion?

-Uday


----- Original Message -----
From: "Jon Stevens" <jon@latchkey.com>
To: "velocity-user" <velocity-user@jakarta.apache.org>
Sent: Thursday, July 12, 2001 7:14 PM
Subject: Re: Can I write a macro that can call itself?


> on 7/12/01 12:43 PM, "Uday Kumar" <uday@eself.com> wrote:
>
> > Hi
> >
> > I am very new to velocity. i have a question... I wanna do recursion
using
> > velocity. There is an example in the documentation where the .vm file
calls
> > itself. But, what i am wondering is - Can a macro call itself? Is that
> > permitted in velocity? "Can I write a macro that can call itself?" is my
> > ultimate question....
> >
> > Please let me know
> >
> > Thanks in advance
> >
> > -Uday
>
> Yes.
>
> In the future, before you post a question asking something, please try it
> out yourself first.
>
> -jon
>
> --
> If you come from a Perl or PHP background, JSP is a way to take
> your pain to new levels. --Anonymous
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
>
>


Mime
View raw message