up previous next
describe

information about an object

Syntax
describe X: OBJECT

Description
This command gives some information about the object X . For instance, if X is a CoCoA-5 function, it prints out the definition, and if X is a package name (prefixed with a $ ), it prints out the exported names.

Example
/**/  Define succ(N) Return N+1; EndDefine;
/**/  describe succ;
Define succ(N) Return N+1 EndDefine

/**/  describe $chebyshev;
The package $chebyshev exports the following names:
* ChebyshevPoly
* ChebyshevPoly2