[Swift-user] Tuning parameters of coaster execution

Mihael Hategan hategan at mcs.anl.gov
Tue Jan 19 13:04:15 CST 2010


On Tue, 2010-01-19 at 13:46 -0500, Andriy Fedorov wrote:
> On Tue, Jan 19, 2010 at 13:01, Andriy Fedorov <fedorov at bwh.harvard.edu> wrote:
> > Mihael,
> >
> > The script is very simple:
> >
> > iterate cnt {
> >  doStuff
> > } until (cnt<100);
> >
> > I thought this is a parallel construct. Was I wrong?
> >
> 
> Yes, apparently I was wrong. I need this instead: "foreach i in
> [1:100] { }". Apologize for not trying this before asking for help...
> 

That's ok. Why "iterate" is there and what it's doing always seems like
a good question, and maybe if people keep asking, I/we'll have a good
answer.




More information about the Swift-user mailing list