Create the Module-Definition File

To link the Select library, you need to create a module-definition file containing the following:

LIBRARY Select

CODE MOVABLE DISCARDABLE

DATA SINGLE

HEAPSIZE 1024

EXPORTS

WEP @1 RESIDENTNAME

StartSelection @2

UpdateSelection @3

EndSelection @4

ClearSelection @5

Since the selection functions do not use global or static variables and there is no local heap, the DATA statement is used to specify no data segment, and the HEAPSIZE statement is used to set the heap size to zero.