[Swift-devel] unitialized error when swift app returning a non-file type

Michael Wilde wilde at mcs.anl.gov
Mon Apr 1 22:10:38 CDT 2013


> Does this mean that a Swift app can only return a file type?

Yes.

If you want to return one or more scalar values from an app, have the app put them in a file in one of the readData() formats, and wrap a Swift function around the app function that does the readData() of the returned file and returns the extracted scalars.

- Mike



More information about the Swift-devel mailing list