[Swift-devel] multiple arguments
    Ben Clifford 
    benc at hawaga.org.uk
       
    Fri May  4 09:33:04 CDT 2007
    
    
  
On Fri, 4 May 2007, Mihael Hategan wrote:
> When it comes to files, the scheme was a little simpler. @filename would
> pass the file names of the fringe of a particular data tree. And
> @filenames would do the same, but each leaf is a single argument.
when used in an app block something like:
 app { 
   myapp "-in" @filenames(myarray[*]) "-type" "fast";
 }
then @filenames needs to be able to return something that gets passed to 
myapp as multiple parameters, rather than a single parameter with spaces 
in it.
I think (?) that this is hard to do if @filenames returns a single value, 
from a SwiftScript-theory perspective (though I think in the karajan 
implementation, @filenames can return as many values as it wants?)
-- 
    
    
More information about the Swift-devel
mailing list