Re: Inform: 2-Dimensional Arrays?


Sun, 24 Sep 1995 22:40:55 -0400

ceforma@rs6000.cmp.ilstu.edu (Christopher E. Forman) writes:
> I don't see 2-dimensional arrays mentioned in the Inform manual.
> Are they supported,

Nope.

> or do you have to cheat and use a formula such as
>
> (number-of-rows-in-array * row-to-access) + column-to-access

Yup. That's what I did in FreeFall.

It almost makes me wish for a C-like pre-processor in Inform... nah.
:-)

--Z

"And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves..."