<div dir="ltr">Apparently yes:<div><br></div><div><div>import io;</div><div>(int v) thfribo_main(string A[]) "thfribo_main" "0.0" "thfribo_main_wrap";<br></div><div><br></div><div>main {</div>
<div> int rc[];</div><div> foreach i in [4801:4900:1]{</div><div> rc[i] = thfribo_main([fromint(i)]);</div><div> <span class="" style="white-space:pre"> </span>printf("exit code: %i", rc[i]);</div><div>
}</div><div>}</div></div><div><br></div><div>This works.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 11, 2014 at 1:45 PM, Ketan Maheshwari <span dir="ltr"><<a href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div>In Swift/T, can I create an unnamed array to pass to a function. eg.<div><br>
</div><div>retcode = afunc({"1"});</div><div><br></div><div>Where function afunc takes an array as argument.</div>
<div><br></div><div>Thanks,</div><div>Ketan</div></div>
</blockquote></div><br></div>