up previous next
PkgName

returns the name of a package

Syntax
PkgName(): STRING
S.PkgName(): STRING

where S is the identifier or alias for a package.

Description
This function returns the (long) name of a package. The first form returns $coclib and the second returns the name of the package whose name or alias is S. This function is useful as a shorthand, when S is an alias, for the full name a package.

Example
  GB.PkgName();
$gb
-------------------------------
  $gb.PkgName();
$gb
-------------------------------
  PkgName();
$coclib
-------------------------------