Difference between revisions of "CoCoA:PkgName"
From ApCoCoAWiki
(pushing XML rev. 1.46, again) |
(No difference)
|
Latest revision as of 10:02, 24 October 2007
PkgName
returns the name of 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 -------------------------------
Syntax
PkgName():STRING S.PkgName():STRING where S is the identifier or alias for a package.
<type>packages</type>