Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61124     [previous patch]

Spurious space with 'articles' property
Submitted by: Fredrik Ramsberg     Appeared in: Library 6/11 or before     Fixed in: -
Problem

The rarely-used articles property defines an array of strings. (The property is provided for non-English languages where irregular nouns may have unusual vowel-contraction rules with articles.) The DM4 gives an example appropriate for a French game, with three strings in the array:

  Object  "haricot"
    with  name 'haricot' 'legume',
          articles "Le "   "le "   "un ",
          ... ;

Note that each string includes its individual trailing space, if appropriate. This is important, because a definite article like l' must be followed immediately by the object's name, without any intervening space. However, in fact a space does appear.

Solution

The PrefaceByArticle() routine includes these print statements:

  if (capitalise)
      print (CapitRule) artval, " ";
  else
      print (string) artval, " ";

The " " items should be removed from those statements.


Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.