Navigation:  Function Reference >

DeleteModule

Previous pageReturn to chapter overviewNext page

 

Name

DeleteModule                                                                                       

Purpose

Removes a module from the licence file completely.

Params

Parameter

Type

Example

Note

ModuleID

String

D1008

Unique ModuleID identifies the module to be removed

Returncode

Returncode

Type Integer

Note

0

Module successfully removed

256

Module was not found in that licence file

Other value

Error occurred, see list of return codes

Usage

To remove an obsolete module from your licence file.

Sample

 

  iRes := lic.DeleteModule(D1008);

  if iRes = 256 then

     << Module already deleted >>

  if iRes = 0 then

     << Module succesfully deleted >>

  ...

See also

AddModule, GetVal, SetVal

 

 


Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.5/help2000/index.html?fr_deletemodule.htm