Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi,
I'd like to know: what's the maximum array index in Mathcad Prime 3.1? Someone know about it?
I know that Excel 2013, for example, supports a maximum of 1.048.576 rows and 16.384 columns as a limit. And Mathcad Prime 3.1?
Thanks so much.
When I tried to assign 2^32-1 to array element 2^32-1 got a weird error, complaining about a value in excess of 10*307, but it didn't create the array element.
When defining A[(2^n-1):2^n-1, and increasing n, I get an error at n=31.
My conclusion is that the boundary lies somewhere between 2^30 and 2^31.
Trying to find it exactly is dangerous. My computer (Win7/64, 4GB) nearly crashed, due to memory insufficience....
Can you actually create a sheet with 2^20 rows and 2^14 columns and have 'em all filled with with data in Excel? that would mean 2^34 items, at least 4x as much as what I tried in Prime...
Success!
Luc
What Luc says sounds right. The indicies are presumably held internally in long ints, so you have something a little less than 2,147,483,647 as the limit, or when you run out of memory, whichever comes first.