[ic] Nested ELSIFs
Grant
listbox at email.com
Wed Sep 3 11:58:30 EDT 2003
> At 08:00 PM 9/2/2003 -0700, you wrote:
>
> >The syntax is still correct right? But, if you test it like this:
> >
> >[tmp whatever]that[/tmp]
> >[if scratch variable]
> >[then]
> > [if value something]
> > number 1
> > [/if]
> >[/then]
> >[elsif !scratch variable]
> > [if scratch whatever eq this]
> > number 2
> > [elsif scratch whatever eq that]
> > number 3
> > [/elsif]
> > [/if]
> >[/elsif]
> >[/if]
> >
> >"number 3" should print to the screen but you get "number 2" instead.
> >
> >- Grant
>
> I can confirm this in a 4.9.8 catalog, so it does appear that
> [elsif]'s do
> not nest. This would be a case where you would be better off using
> [explicit] or some perl.
>
> - Ed L.
Ok, thanks for checking into that. Is it possible that nested elsif
functionality is just something that needs to be added to IC? Also, when
you say explicit, do you mean [if type=explicit] etc.?
- Grant
More information about the interchange-users
mailing list