[Swift-user] multiple files for each app call

Hodgess, Erin HodgessE at uhd.edu
Mon Jun 15 09:06:55 CDT 2009


Ok.

thanks,
Erin


Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse at uhd.edu



-----Original Message-----
From: Ben Clifford [mailto:benc at hawaga.org.uk]
Sent: Mon 6/15/2009 9:01 AM
To: Hodgess, Erin
Cc: swift-user at ci.uchicago.edu
Subject: Re: [Swift-user] multiple files for each app call
 
On Mon, 15 Jun 2009, Hodgess, Erin wrote:

> Would this be appropriate for an array of files, please?

You can return an array or a structure; or you can return multiple return 
parameters from a procedure.

An array makes sense if the files are named numerically, for example 
a0001.txt a0002.txt, ...

To return multiple files, you can declare multiple return values from a 
procedure like this:

(file a, file b)  myproc() {
...
}

-- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20090615/813ab2c8/attachment.html>


More information about the Swift-user mailing list