On Monday February 18, 2002 08:43 pm, Edmund Lian wrote: > Jay wrote: > >>I guess I'm trying to find a balance between removing confusion for psp > > authors when there code doesn't work as expected. They'll be confused if > their if/else blocks don't work because they've got a space or return > between the end of the if and the start of the else. But then again, they > might be confused if they've got spaces or tabs or whatever between two > script blocks that disappear in the final output.<< > > Why not just avoid the issue in this instance by using a single <elif> tag > i place of an <end><else> combination?
That is another valid possibility. But in my opinion, it's nice and consistent if <%end%> is the way you always end a code block. Otherwise, you have to say that <%end%> as well as else, elif, except, and finally end a code block. That seems to me harder to explain and less consistent. Also, it's not backward compatible with the way PSP currently works. But, it does result in shorter code. So there are some pros and some cons. - Geoff _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
