Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61106     [previous patch]

Improvement to LibraryExtensions.RunUntil
Submitted by: Roger Firth     Appeared in: Library 6/11     Fixed in: -
Problem

The LibraryExtensions.RunUntil property (new at 6/11 and not currently used by the library) should return simply true or false if it does nothing.

Solution

Change the current code:

  RunUntil [ prop exitval a1 a2 a3
      obj rval;
      objectloop (obj in self)
          if (obj provides prop && obj.prop ofclass Routine) {
              rval = obj.prop(a1, a2, a3);
              if (rval == exitval) return rval;
          }
      return ~exitval;
  ],

so that "~exitval" becomes "~~exitval".


Last updated 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.