Several of the tests in the MUMPS Validation Test Suite
(version 9.10) fail, because they try to set a local or
global variable with more than 32 subscripts.
The portability section of the '95 standard indicates
that the number of subscripts should not be explicitly
limited. It presents a formula that, based on a
255-character string length, works out to 79
subscripts. This is what V4SSUB looks for.
I have built GT.M 4.3-001A with MAX_LVSUBSCRIPTS and
MAX_GVSUBSCRIPTS set to 80. Testing in a database with
2 K records and 255-byte keys, I haven't run into any
problems, so far. I haven't run the full MVTS, but
some of the tests that failed now pass.
Is there any reason this hard-coded value can't be
increased, at least to 80?
Log in to post a comment.