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

READPRN is limited to 2,000,000 rows

TU
Newbie
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

Re: READPRN is limited to 2,000,000 rows

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

Mike

Esdras
Regular Member
(in response to TU)

Re: READPRN is limited to 2,000,000 rows

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!

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."