TPUHELP.HLB  —  EXPAND_NAME
  EXPAND_NAME

     Returns a string containing the name (or names) of TPU variables,
     keywords, or procedures that begin with a string you specify.  TPU
     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 TPU 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 TPU 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 TPU words:

         CREATE_BUFFER         CREATE_KEY_MAP
         CREATE_KEY_MAP_LIST   CREATE_PROCESS
         CREATE_RANGE          CREATE_WINDOW
Close Help