RE: [htmltmpl] (no subject)

2005-07-11 Thread Emanuele Zeppieri
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sam Tregar > Sent: Monday, July 11, 2005 8:00 PM > To: Emanuele Zeppieri > Cc: html-template-users@lists.sourceforge.net > Subject: Re: [htmltmpl] (no subject) > > > On Mon, 11 Jul 2005, Emanuele Z

Re: [htmltmpl] (no subject)

2005-07-11 Thread Sam Tregar
On Mon, 11 Jul 2005, Emanuele Zeppieri wrote: > Well, I'm probably missing something (or everything), but it seems to me > that the following compiled code layout could solve the problem: > > JUMP to A IF false > ... # first true instruction > ... > ... # last true instruc

Re: [htmltmpl] (no subject)

2005-07-11 Thread Emanuele Zeppieri
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sam Tregar > Sent: Monday, July 11, 2005 4:50 PM > To: Jochen Cichon > Cc: html-template-users@lists.sourceforge.net > Subject: Re: [htmltmpl] (no subject) > > > On Mon, 11 Jul 2005, Jochen Cichon

Re: [htmltmpl] (no subject)

2005-07-11 Thread Sam Tregar
On Mon, 11 Jul 2005, Jochen Cichon wrote: > Hm, was my first Idea also, > > but why is condition evaluated a second time ONLY if it is TRUE on the first > run? HTML::Template compiles an IF/ELSE into two JUMP IF ops: JUMP to A IF false ... ... JUMP TO B IF true A: ...

Re: [htmltmpl] (no subject)

2005-07-11 Thread Jochen Cichon
Hm, was my first Idea also, but why is condition evaluated a second time ONLY if it is TRUE on the first run? I have looked into the source, but was not sure of it's a problem of the resolving ... or maybe of the parser? -- Jochen Sam Tregar schrieb: On Fri, 8 Jul 2005, Jochen Cichon wrot