[ExM Users] readdata

Tim Armstrong tim.g.armstrong at gmail.com
Fri Jun 27 10:38:47 CDT 2014


It's in the files module btw, so you'd need to import files before using it.


On Fri, Jun 27, 2014 at 10:38 AM, Tim Armstrong <tim.g.armstrong at gmail.com>
wrote:

> No, not currently.  For your purposes the file_lines function would work:
> (string s[]) file_lines(file f)
>
> I.e.
>
> out = file_lines(input("test.txt"));
>
> Performance won't be great for large files.
>
>
> On Fri, Jun 27, 2014 at 10:20 AM, Ketan Maheshwari <ketan at mcs.anl.gov>
> wrote:
>
>> Is there a T equivalent of K's readData function:
>>
>> string bigarray[];
>> bigarray = readData("alistofmillionitems.txt");
>>
>>
>> Thanks,
>> Ketan
>>
>> _______________________________________________
>> ExM-user mailing list
>> ExM-user at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140627/4c6adbb7/attachment.html>


More information about the ExM-user mailing list