Navigation:  Function Reference >

TotalLicences

Previous pageReturn to chapter overviewNext page

 

Name

TotalLicences                                                                                     

Purpose

Gets the total licences of the module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1005

Unique ModuleID identifies the module to be tested

Returncode

Returncode

Type Integer

Note

-1

An error occurred, check LastReturncode

0 to 2147483648

Total Licences of the module

A yes-no-module returns 1 for yes, 0 for no

Usage

To check the numbers (in a counter and a yes-no-module) or to show the total amount of available licences.

Sample

 

  iLics := lic.TotalLicences (D1005);

  if iLics >= 0 then

  begin

     << use the extracted value >>

     ...

  end

  else

  begin

     iRes = lic.LastReturncode;

     << an error iRes occurred >>

     ...

 

See also

RemainingLicences, Module types

 

 


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