up previous next

PkgName

Syntax

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

where S is the identifier or alias for a package.
    

Summary

returns the name of a package

Description

This function returns the (long) name of a package. The first form returns $cocoa/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();
$cocoa/gb
-------------------------------
$cocoa/gb.PkgName();
$cocoa/gb
-------------------------------
PkgName();
$cocoa/coclib
-------------------------------