<div dir="ltr"><div><div><div>No, not currently.  For your purposes the file_lines function would work: (string s[]) file_lines(file f)<br></div><br></div>I.e.<br><br></div>out = file_lines(input("test.txt"));<br>
<div><div><div><br>Performance won't be great for large files.<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 10:20 AM, 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">Is there a T equivalent of K's readData function:<div><br></div><div>string bigarray[];</div><div>bigarray = readData("alistofmillionitems.txt");</div>
<div><br></div><div><br></div><div>Thanks,</div>
<div>Ketan</div></div>
<br>_______________________________________________<br>
ExM-user mailing list<br>
<a href="mailto:ExM-user@lists.mcs.anl.gov">ExM-user@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a><br>
<br></blockquote></div><br></div>