[Swift-user] suggestion for program flow control

Mike Kubal mikekubal at yahoo.com
Wed Jun 11 13:48:36 CDT 2008


In a swift script I have a loop that iterates over potentially thousands of files and performs a function on each.

After the loop ends another swift function is called to parse the results.

Since I do no want to pass a result file for each of the thousand processed files in the loop, I have added an additional localhost script that checks to see if X number of results file have been produced and then generates a text file that  is passed into the swift function that parses the results. 

It wasn't a big deal to add the extra script, but it may be desirable for the swift program to not move to a function call outside of the loop until the loop is finished.  

Mike


      



More information about the Swift-user mailing list