I’ve been trying to implement a table continuation (extending a table in an extension), but a Problem message is being generated, and it’s not clear why. The example code is patterned after the contents of WWI 16.18 Table continuations:
"Table Continuation Problem" Place is a room. A zork is a kind of value. Some zorks are defined by the Table of Zorks. Table of Zorks Zork ID Zork Text zorkA "A" zorkB "B" [normally from extension] Table of Custom ZText Zork ID Zork Text zork text Table of Custom ZText (continued) Zork ID Zork Text zorkA "Not A" When play begins: showme the contents of the Table of Custom ZText.
The resulting Problem message (actually two of them) take the form:
Problem. In ‘Table of Custom ZText’ , column 1 (Zork ID), the entry ‘zorkA’ (row 2) is a genuine, non-blank entry: it’s a specific value. That’s fine, of course - the whole idea of a table is to contain values - but this is a column which already contains a name of a kind: ‘zork’ .
Names of kinds are only allowed at the top of otherwise blank columns: they tell me what might eventually go there. So the kind name has to go. You can replace it with a blank ‘–’, and then either let me deduce the kind by myself, working it out from the actual values in the column, or you can put the kind in brackets after the column’s name, at the top.)
The Problem message appears in both 6M62 and 10.1.2. Note that the issue can be sidestepped by defining the first table as follows:
Table of Custom ZText Zork ID (zork) Zork Text (text) with 1 blank row.
but that’s not the format shown in the documentation, and my understanding was that the two formats were functionally identical.
Is there something I’m missing, or is this a compiler issue?