----------  Create or Drop Module  ----------

The "create module" command creates a module in the database.  

Syntax:

 create module MODULE [ language c [(ITEM {, ITEM})] ] 
   [ | into  | file  ]
     | onto  ] 
 
   | PROCEDURE          |; { | PROCEDURE          | ;}
   | FUNCTION           |    | FUNCTION           |
   | OPERATOR           |    | OPERATER           |
   | AGGREGATE FUNCTION |    | AGGREGATE FUNCTION |

 end module;

The "language" option is reserved for later use. 

The file option is used to generate user C program header. It is convenient
for user to write user defined function.

For further information on PROCEDURE, FUNCTION, OPERATER or AGGREGATE 
FUNCTION, enter:

                help routine;


To update a module, the "update module" command is used:

Syntax:

     update module MODULE;
     
     update module MODULE [ for SYSTEM ] | from  | FILE;
                                         | using |

If no option is assigned for update module command, just regenerate the
wrap.dll for the current working platform.

If the [for SYSTEM] is assigned, and it is different from the SYSTEM tag of
current working platform, just copy or record the following File into
database. If the [for SYSTEM] is not assigned, or it is same as the SYSTEM
tag of the current working platform, regenerate the wrap.dll.

With keyword "from", the file FILE will be copied to the database directory; 
with keyword "using", the path to FILE will be recorded in the database, the
actual FILE will not be copied to database directory.

To remove a module, its definition, and ALL its contents from the database, the
"drop module" command is used.

Syntax:

     drop module MODULE;


For further information on display module information, enter:

                help display;
