t | : | name |
Synopsis: The PrintProc function prints out a description of a Darwin procedure. If t is not a valid procedure, an error is returned.
If the user defines their own procedure and adds a descriptor
line (see the example below and Section ), then
PrintProc will send the contents of this entry to the standard
output.
Examples:
> PrintProc(factorial); > usersprocedure := proc() > description > ' This procedure does nothing except provide an example of how > the descriptor line in Darwin works > '; > % do nothing > end: > PrintProc(usersprocedure);
See also: print