Is there a compile-time equivalent of “number of (description of values)”? I would like to create an Inform 6 constant for the initial number of foobars (a kind of thing), so that I can make an array of that size. Relations.i6t has the line
Constant NUM_ROOMS = {-value:Data::Instances::count(K_room)};
That is basically what I want, except it is undocumented and doesn’t work for foobars.
Alternatively, is there a way to change the size of an Inform 6 array at run-time?