1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00

Fix for Mantis bug 2098

This commit is contained in:
Graham Nelson 2022-04-06 21:10:41 +01:00
parent 1d71b34f9c
commit 6d1fe47030

View file

@ -14530,9 +14530,9 @@ A special word about the constant list "{ }". This means the list with no entrie
then Inform will produce a problem message, because it cannot tell what sort of list M will be: a list of numbers, or texts, or times, or...? On the other hand, writing
let M be { };
now M is { };
is fine provided that M already exists, and then does the obvious thing - empties M. Similarly, a table column in which every entry is "{ }" produces a problem message unless the heading for that column spells out the kind of value stored within it: for instance, "ingredients (list of texts)".
is fine if M already exists, and then does the obvious thing - empties M. Similarly, a table column in which every entry is "{ }" produces a problem message unless the heading for that column spells out the kind of value stored within it: for instance, "ingredients (list of texts)".
All of this is a notation for constant lists only, not some sort of gluing-things-together operation. So this, for instance: