4.12 Testing for a Share Package

There are two ways in which one might want to test for a share package.

The first is whether a package is available for loading or has been loaded. This can be done via the function TestPackageAvailability (see TestPackageAvailability in the Reference Manual).

In order to test whether a share package name has been loaded already, you can check the global variable LOADED_PACKAGES for a record component LOADED_PACKAGES.(name).

[Top] [Previous] [Up] [Next] [Index]

GAP 4 manual
February 2000