[Swift-user] iterate syntax

Luciano Piccoli piccoli at fnal.gov
Wed Mar 19 10:38:51 CDT 2008


Thanks, the iterate works now. However the following script does not 
work. Is this case included in the nested statement blocks deprecated 
features from the release notes?

---

type file {}
 
(file t) echo(int m) {
  app {
    echo m stdout=@filename(t);
  }
}

(file t) nested_echo(int m) {
  t = echo (m);
}

file a[]<simple_mapper;prefix="my_file">;
a[0] = nested_echo(0);

---

Luciano

Ben Clifford wrote:
> On Tue, 18 Mar 2008, Luciano Piccoli wrote:
>
>   
>> I justed checked out the latest swift and it looks like the iterate syntax
>> changed.
>>     
>
> r1736 contains some adjustments to the way compile-time checking is done 
> for iterate statements. Please can you try that?
>
>   





More information about the Swift-user mailing list