TPUHELP.HLB  —  EXPAND_NAME
  EXPAND_NAME

     Returns a string containing the name (or names) of DECTPU variables,
     keywords, or procedures that begin with a string you specify.  DECTPU
     searches its internal symbol tables to find a match, using your input
     string as the initial substring for the match.

  Syntax

     string2 := EXPAND_NAME (string1, keyword)

     Parameters

     string1    The initial substring of a DECTPU name.  The string may
                contain the asterisk wildcard (*, matching an arbitrary
                number of characters) and percent wildcard (%, matching a
                single arbitrary character).

     keyword    The type of DECTPU name you want to match:

                ALL .......... Match all names
                KEYWORDS ..... Match only keyword names
                PROCEDURES ... Match only procedure names
                VARIABLES .... Match only variable names

  Example

     full_name := EXPAND_NAME ("create", ALL);

     Returns in the variable FULL_NAME the following DECTPU words:

         CREATE_BUFFER         CREATE_KEY_MAP
         CREATE_KEY_MAP_LIST   CREATE_PROCESS
         CREATE_RANGE          CREATE_WINDOW
Close Help