MAINSAIL Language Manual, Section 49.1

previous   next   top   complete contents   complete index   framed top   this page unframed


49.1. unBind

Figure 49–1. unBind (GENERIC)
PROCEDURE   unBind      (REPEATABLE MODULE m);

PROCEDURE   unBind      (REPEATABLE STRING modName);

unBind undoes the effect of a call to bind; i.e., it executes the FINAL PROCEDURE (if any) of the MODULE m or the MODULE named modName, and then disposes the MODULE's bound data section (see Section 33.30). Unlike the system PROCEDURE dispose, unBind does not release the MODULE's control section. unBind has no effect if the MODULE does not have a bound data section.

The linkage of any MODULEs that have established linkage to the MODULE is broken.

The STRING form generates an error if modName is not a valid MODULE name, i.e., a valid MAINSAIL identifier.


previous   next   top   complete contents   complete index   framed top   this page unframed

MAINSAIL Language Manual, Section 49.1