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

Mihael Hategan hategan at mcs.anl.gov
Mon Apr 1 16:23:33 CDT 2013


On Mon, 2013-04-01 at 16:18 -0500, Ketan Maheshwari wrote:
> To my understanding, it has to be used in the commandline so that Swift
> knows where to put its value.

I'm not sure what you mean there, or where you got that information, but
when you say 

app ... {
  appname x;
}

that means invoke 'appname' with the value of x as a parameter on the
command line. There is no such value if x is a return parameter.

Mihael





More information about the Swift-devel mailing list