ENTER.PACKAGE()

ENTER.PACKAGE()

Top  Previous  Next

 

The ENTER.PACKAGE() function attempts to enter a licensed software package.

 

 

Format

 

ENTER.PACKAGE(package.name)

 

where

package.nameis the name of the package to be entered.

 

 

The ENTER.PACKAGE() function behaves differently according to the package type.

 

For a registered package, it confirms that the named package is installed, has not expired, and that the user limit has not been reached. If all is ok, the user is recorded as being active in the package and the function returns True. If an error occurs, the function returns False and the error code can be found using the STATUS() function.

 

For a private package, the function returns the number of users in the package, including the one attempting to enter. An error will return zero and the error code can be found using the STATUS() function. It is the application's responsibility to apply any concurrent user limits or other constraints.

 

 
See also:
Package licensing, EXIT.PACKAGE(), PACKAGE.LICENCE, !PACKAGE()