HPlogo System Debug Reference Manual > Chapter 5 System Debug Command Specifications Fx-LOG

FUNCL[IST]

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Function list. Displays information about the predefined functions.

Syntax



   FUNCL[IST] [pattern]  [group]  [options]

Parameters


pattern

The name(s) of the function(s) to be displayed. This parameter can be specified with wildcards or with a full regular expression. Refer to appendix A for additional information about pattern matching and regular expressions.

The following wildcards are supported:

@

Matches any character(s).

?

Matches any alphabetic character.

#

Matches any numeric character.

The following are valid name pattern specifications:
@

Matches everything; all names.

pib@

Matches all names that start with "pib".

log2##4

Matches "log2004", "log2754", and so on.

The following regular expressions are equivalent to the patterns with wildcards that are listed above:

   `.*`
   `pib.*`
   `log2[0-9][0-9]4`

By default, all functions are displayed.

group

The functions are logically divided into groups, and they can be displayed, filtered by group name.

COERCION

Coercion functions.

UTILITY

General utility functions.

ADDRESS

Address manipulation functions.

PROCESS

Process data structure address functions.

PROCEDURE

Procedure name/length/entry/path functions.

STRING

String manipulation functions.

SYMBOLIC

Symbolic access functions.

ALL | @

Display all groups.

By default, all groups are displayed.

options

Any number of the following options can be specified in any order, separated by blanks:

NAME

Display function name and result type.

USE

Display a short summary of use.

NOUSE

Skip the use summary.

PARMS

Display parameter names, types, default values.

NOPARMS

Skip parameter displays.

DESC

Display a general description.

NODESC

Skip the description.

EXAMPLE

Display the example.

NOEXAMPLE

Skip the example.

ALL | @

Display everything. Same as:

  • NAME USE PARMS DESC EXAMPLE

PAGE

Page eject after each function definition. Useful for paged (listfile) output.

NOPAGE

No special page ejects.

If none of the options above are specified, the NAME is displayed by default. If any options are specified, they are accumulated to describe which fields are printed.

Examples



   %cmdebug > funcl

List all functions.

   %cmdebug > funcl @node
   func CMNODE                : LPTR    ADDRESS
   func CMTONMNODE            : LPTR    ADDRESS
   func NMNODE                : LPTR    ADDRESS
   func NMTOCMNODE            : LPTR    ADDRESS

List all functions (in all groups) that match the pattern "@node".

   $nmdebug > funcl cm@ procedure
   func CMADDR           : LCPTR     PROCEDURE
   func CMBPADDR         : LCPTR     PROCEDURE Not in: dat sat
   func CMBPINDEX        : U16       PROCEDURE Not in: dat sat
   func CMBPINSTR        : U16       PROCEDURE Not in: dat sat
   func CMENTRY          : LPTR      PROCEDURE
   func CMPROC           : STR       PROCEDURE
   func CMPRCLEN         : U16       PROCEDURE
   func CMSEG            : STR       PROCEDURE
   func CMSTART          : LCPTR     PROCEDURE

List all functions, in the group PROCEDURE, that start with "CM".


NOTE: Some functions are not available in all programs. For example, the three breakpoint functions above, are flagged as NOT being available in DAT or SAT (since breakpoints are not supported in these programs).

Limitations, Restrictions


none




FPMAP


GETDUMP