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 %><br>
<% end %>
<% else: %>
Hi, i'm rather small <%= i %><br>
<% end %>
<% end %>
but if I put the "else" right after the "end" it does work:
<% for i in range(5): %>
<% if i > 2: %>
Hi, i'm a big number <%= i %><br>
<% end %><% else: %>
Hi, i'm rather small <%= i %><br>
<% end %>
<% end %>
I think, the first version looks much better and more natural to me,
doesn't it?
Ciao,
--
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ \/ / __ \\ ___\
/ / / ____/ / / / // ____// /\ \\ ___\\____ \
/_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\
/_/ \_\
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss