[Swift-devel] file declaration inside foreach

Veronika V. Nefedova nefedova at mcs.anl.gov
Tue Apr 24 14:54:55 CDT 2007


right, I noticed that too );


At 02:49 PM 4/24/2007, Yong Zhao wrote:
>Nika,
>
>you are missing the ending '>' for both declaration.
>
>Yong.
>
>On Tue, 24 Apr 2007, Veronika  V. Nefedova wrote:
>
> > Hi,
> >
> > I am wondering why this is not working?
> >
> > foreach i in range {
> > file in <simple_mapper;file=@strcat("lattice.",i);
> > file out <simple_mapper;file=@strcat("lattice.",i+1);
> > out=lqcd_exec(original,in);
> > }
> >
> > Swift complains about file declarations (mappers) inside foreach statement:
> >
> > [nefedova at evitable fermi_bench]$ swift lqcd-genU.dtm
> > Could not compile SwiftScript source: line 11:1: unexpected token: file
> > [nefedova at evitable fermi_bench]$
> >
> > Please let me know how to make it working (-;
> >
> > Thanks!
> >
> > Nika
> >
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> >





More information about the Swift-devel mailing list