cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

READPRN is limited to 2,000,000 rows

TU
1-Newbie
1-Newbie

READPRN is limited to 2,000,000 rows

Using READPRN in MathCAD 15 I found that it's limited to 2,000,000 rows. Fortunately READFILE doesn't appear to have this limit as I was able to use it to read 2.7E+6 lines of a text file.

2 REPLIES 2
MikeArmstrong
5-Regular Member
(To:TU)

Sorry to be rude, but is there a question in there somewhere?????

Mike

Esdras
5-Regular Member
(To:TU)

Hello everyone,

 

Just adding a comment to the topic. I was working with a large txt with approximately 700,000 rows and 13 columns. The file size was 136Mb. My version of mathcad is 15 (M045). The READPRN function did not report an error, but the function was only able to read approximately 600,000 rows. I removed 8 columns. The file was 53 Mb. With this size, the READPRN function could read all the rows. So, I think this limitation is not the absolute number 2,000,000 rows, but it is related to the amount of data in the file, maybe the file size. Just my humble opinion, based on that experience.

 

Hope this helps!

Top Tags