[Oberon] SystemV- Heap + Module Space

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Thu Jan 3 14:53:22 CET 2019

   > Generally I just wish roll back the ref counts before the failing module. 

Isn’t what you are describing what the code at the end of Modules.Load already does:

      ELSIF res = 3 THEN importing := name;
          WHILE nofimps > 0 DO DEC(nofimps); DEC(import[nofimps].refcnt) END
      END ;
      newmod :=  mod
    END Load;


More information about the Oberon mailing list