[ic] Quick and stupid question about elsif structures.
mike at perusion.com
Sun Sep 21 13:30:27 EDT 2003
Quoting Ed LaFrance (edl at newmediaems.com):
> At 05:39 PM 9/21/2003 +0800, you wrote:
> >Can I do something like this??
> >[if-loop-data transactions b_address2]
> > [loop-data transactions b_address2]
> >[elsif-loop-data transactions address2]
> > [loop-data transactions address2]
> >I searched the mailing archives for the string "elsif-loop-data" and didn't
> >find anything, and it's given me pause. Is that even valid syntax? If not,
> >what would one do?
> It's not valid. There is an [else] for [if-prefix-data], that's it. More
> complex tests in iterative lists are best done with [calc], [perl] or a
If it is as simple as presented, you can do:
[if-loop-data transactions b_address2]
[loop-data transactions b_address2]
[if-loop-data transactions address2]
[loop-data transactions address2]
The advantage of this over [calc] or the like is efficiency -- it is
much faster and uses many fewer resources.
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike at perusion.com>
Be patient. God isn't finished with me yet. -- unknown
More information about the interchange-users