Robert Cemper · Mar 17

A confusing experience

During my last migration to IRIS I met this Compatibility parameter

  • NullSubscripts    true
0 - Throw error when referencing a null subscript.
1 - Null subscript references do not throw an error.

The consequences are shocking. This was allowed:

USER>zw ^rcc

But SMP had no idea what is going on. 

And after switching off that flag this was still partialy visible, but read-only

USER>zw ^rcc

I just don't understand.

Product version: IRIS 2022.3
$ZV: IRIS for Windows (x86-64) 2022.3 (Build 606) Mon Jan 30 2023 09:20:17 EST
0 187
Discussion (5)3
Log in or sign up to continue

Fully with you.
But in migration, you have no choice.
With several thousands of Globals, there is no chance to find out
if some crazy chap had used it decades ago.
When I saw it the first time I must have looked like Kong Kong.

I remember working on a system like that written in something called MaxiMumps. When doing their equivalent of $Order the second time you found null was the end of the subscript range.

They also had an post-conditional character ";" which behaved like "if not". These two lines were effectively the same.

S:A'=B C=D

S;A=B C=D save a character! 

Oh Dear!

but Memory was expensive.
But my first DSM-like OS on VAX was only ~ 80KB code at run time. (40+ years back)
All the rest for Partitions and Buffers,  . 

lol...y'all are reminding of my 'time served' with MIIS!  That was not fun.