Sounds like the COMMON section in BASIC. Although there you couldn't even supply indexes. "Remember that variable order
and type are significant, not variable names. The order and type of
variables must be the same for all COMMON statements communicating
between chaining programs." -- http://qbasicnews.com/qboho/#topic-qb45advr-T0085