Pass a table to a function?

I would like to pass a table to a function and have it do something with it. However, the code I tried to do this:

To variably describe (rome - a table):

results in:

Problem. In ‘To variably describe (rome - a table)’, the text ‘a table’ after the hyphen should tell me what kind of value goes here (like ‘a number’, or ‘a vehicle’), but it’s not something I recognise.

Are tables just not first-class citizens in Inform parlance? Or is there a different way to accomplish this?

The type is called “table name” instead of “table”, I think to make it clear that you’re only passing around pointers instead of the entire table.

3 Likes

Aha! Thanks so much!