Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61128     [previous patch]

OOPS sometimes changes wrong word
Submitted by: Mark Tilford     Appeared in: Library 6/11 or before     Fixed in: -
Problem

The OOPS command doesn't necessarily change the faulty word. In the examples below, 'ZZZ' should be corrected to 'RUBY'. This happens in the first example, but not the second.

  You can see a pearl ring and a ruby ring here.

  >TRACE 2
  [Parser tracing set to level 2.]

  >EXAMINE ZZZ RING
  [ "examine" examine / "zzz" ? / "ring" ring ]
  [Parsing for the verb 'examine' (1 lines)]

  [line 0 * noun -> Examine]
   [line 0 token 1 word 2 : noun]
  You can't see any such thing.

  >OOPS RUBY
  [ "examine" examine / "ruby" ruby / "ring" ring ]
  [Parsing for the verb 'examine' (1 lines)]

  [line 0 * noun -> Examine]
   [line 0 token 1 word 2 : noun]
   [line 0 token 2 word 4 : END]
  [Line successfully parsed]
  You see nothing special about the ruby ring.

  >EXAMINE RING ZZZ
  [ "examine" examine / "ring" ring / "zzz" ? ]
  [Parsing for the verb 'examine' (1 lines)]

  [line 0 * noun -> Examine]
   [line 0 token 1 word 2 : noun]
  You can't see any such thing.

  >OOPS RUBY
  [ "examine" examine / "ruby" ruby / "zzz" ? ]
  [Parsing for the verb 'examine' (1 lines)]

  [line 0 * noun -> Examine]
   [line 0 token 1 word 2 : noun]
   [line 0 token 2 word 3 : END]
  I only understood you as far as wanting to examine the ruby ring.

  >
Solution

None submitted.


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.