[ic] Opinions sought on [loop-next]

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Fri May 31 09:42:01 2002


"Webpraxis Consulting Ltd." <webpraxs@tnc.ab.ca> writes:

> Hi all,
> I'm a newbie IC user and I've had my first experience with the [loop-next]
> tag.
> 
> It came as a shock to see the whole output from the loop iteration being
> suppressed. This is truly counter-intuitive compared to Perl's 'next'
> command. Accordingly, there's no one-to-one equivalent. When faced with
> nested loops, one is forced to use [if] constructs with the attending
> stylistic complexities. Moreover, IC's way would seem to promote some
> rather ugly coding practices where one could have an extensive output
> sequence and then suppress it at the last stamement. I've coded in many
> languages over the last thirty years and I've never seen such a coding
> pragma 'til now.

Sorry, Yves. ITL is _not_ a programming language. Use embedded Perl or
pseudo-ASP if this more convenient for you.

Ciao
        Racke

-- 
Free resources for Interchange programming NOW !!! 
Don't hesitate to contact me if you need my professional help.
Your core developer and consultant for the most sophisticated,
flexible and extensible Open Source eCommerce software.