Re: [Webware-discuss] if and else in PSP

2001-12-28 Thread Jay Love
Sorry you had this problem. We're talking about ways to handle it. In the future, it might save you time debugging this sort of thing to look at the python code that PSP generates. You'll find it in the Cache/PSP directory. Jay On Mon, 2001-12-24 at 04:12, Frank Barknecht wrote: > Hi, > > t

[Webware-discuss] if and else in PSP

2001-12-24 Thread Frank Barknecht
Hi, the following problem has cost me hours: Is it a bug, or did I misinterpret the PSP documentation? In PSPages (0.6.1-beta), this doesn't work and gives an Indentation Error: <% for i in range(5): %> <% if i > 2: %> Hi, i'm a big number <%= i %> <% end %> <% e