[Swift-user] Using @arg function with arrays

Luciano Piccoli piccoli at fnal.gov
Sun Jul 22 17:25:52 CDT 2007


Hi,

I'm using the @arg function to get command line arguments into the swift script. That works well with single values. Is there support to get arrays as well? Something like the following:

> swift workflow.swift -confList=000102,000108,000114

> cat workflow.swift
    ...
    string confList[] = @arg("confList");
    ...

Thanks,
Luciano



More information about the Swift-user mailing list