[Swift-devel] req: int2string

Mihael Hategan hategan at mcs.anl.gov
Tue Mar 20 04:57:55 CDT 2007


try source=@string(i)

On Tue, 2007-03-20 at 10:50 -0500, Tiberiu Stef-Praun wrote:
> Would like to do something like this:
> 
>         foreach int i in 0..35 {
>                 file
> solution<regexp_mapper;source=int2string(i),match="(.*)",transform="\1.out">;
>                 solution = invoke($i);
>         }
> 
> Reason:
>    I need to control (differentiate) the name of the outputs that are
> being generated in the loop such that they do not overwrite themselves
> when they are staged out.
> 
> Any alternatives ?
> 
> Tibi
> 




More information about the Swift-devel mailing list