#7 only 32 subscripts

open
nobody
None
5
2012-12-29
2002-06-20
Jon Willeke
No

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?

Discussion

  • K.S. Bhaskar
    K.S. Bhaskar
    2002-06-21

    Logged In: YES
    user_id=82850

    Thank you, we will look into this.

    -- Bhaskar