<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      file_lines() isn't in the manual- I will add it now.  <br>
      <br>
      file_lines() automatically cuts out comments with # and omits
      empty lines.  <br>
      <br>
      You can also read() the whole file as a string and split() it up
      yourself.  <br>
      <br>
      On 06/27/2014 10:38 AM, Tim Armstrong wrote:<br>
    </div>
    <blockquote
cite="mid:CAC0jiV45+OHu0EnDROPi95W8rxuFkrdFUnH-wjav719nsGBePw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:ExM-user@lists.mcs.anl.gov">ExM-user@lists.mcs.anl.gov</a><br>
            <a moz-do-not-send="true"
              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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ExM-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ExM-user@lists.mcs.anl.gov">ExM-user@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Justin M Wozniak</pre>
  </body>
</html>