[Swift-devel] Q of traversing all files in one directory

Zhao Zhang zhaozhang at uchicago.edu
Mon Dec 29 13:11:51 CST 2008


Hi,

Ben Clifford wrote:
> On Mon, 29 Dec 2008, Zhao Zhang wrote:
>
>   
>> foreach file in a directory {
>>   outfile = app(file)
>> }
>>     
>
> You want to explicitly list the files? Yes/no?
>   
No, I don't want to explicitly list the files.
> And then generate the filenames for 'outfile' automatically?
>   
yes, I think I know how to do this.

zhao



More information about the Swift-devel mailing list