Functions Index :: I :: IsPackageLoaded

[<< up one level]

Module:

:: loader

Definition:

IsPackageLoaded(string library, string package)

Description:

Returns true if the specified package is loaded, false otherwise.

A package is considered loaded if all of its modules are loaded.

Arguments:

library: The name of the library where the package belongs.

package: The name of the package.[1]

Examples:

dummy = IsPackageLoaded("avslib", "filters")

\? NOP

\: LoadPackage("avslib", "filters")

 

[<< top]

 


[1]: The package may be further divided to an unlimited hierarchy of subpackages, if each level is separated by the "/" (slash) character.

Each slash character corresponds to a path separator in the underlying OS, thus to a nested subfolder in the package tree.

The following examples illustrate the concept: