Bulletin number: 337 Products affected: D712B Description: Incorrect reference in module Component: compiler Date: Wed Jul 25 14:05:07 BST 1990 ----- When procedures are nested within a module the compiler generates code to access the routine PASCAL___CLOSE. This means that modules cannot be used as a way to make code which can be used in standalone mode. The following code is a sample that causes the failure: module abc; procedure def; procedure ghi; begin end; begin ghi; end; begin def; end. The program works if the procedure ghi is removed. The workaround is to introduce a new module which does define the entry point PASCAL___CLOSE. Try the following: module wa; export procedure wa alias 'PASCAL___CLOSE'; begin end; end.