company logo

List function (LIST)

The command lists the current function or the function passed in fname. In order to list functions stored in external source files, those have to be loaded before (e.g. by calling LOAD).

Parameters:

  • fname - function name for the function to be listed. The function is searched in the current context, i.e. the currently selected data type and its base types.
  • class - In order to list functions in a different class, the function name has to be scoped.

Syntax:

  list|l [[class::]fname]

Examples:

  l                 // list current function

  l Print           // list function Print of current class or base types

  l 'Person::Print' // list function Print defined in Person class or

                    // it's base types. Scoped names have to be quoted.