[Swift-user] Expanding arrays in app function command lines
    Ben Clifford 
    benc at hawaga.org.uk
       
    Tue Jan 27 10:11:01 CST 2009
    
    
  
On Mon, 26 Jan 2009, Ben Clifford wrote:
> > But in general, the ability to expand an array of strings into the command
> > line is useful and I think should be done in array member order.
> 
> > Can/should this be changed to behave like that?
> 
> yes, this is something I've been meaning to work on.
http://www.ci.uchicago.edu/~benc/tmp/argstar.patch
will allow you to specify arrays of strings directly as parameters.
http://www.ci.uchicago.edu/~benc/tmp/strarray.swift demonstrates the use 
of such.
You can apply that, or you can wait a few days more me to test it more 
thoroughly and commit.
Note that instead of saying x[*] you would say x without further 
modifiers.
-- 
    
    
More information about the Swift-user
mailing list