PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
fExecute
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax:  flagType fExecute( char far *Command );
 
  Returns: The return value of the last function called.
 
  See:     SetKey, Execute Function
 
     The fExecute function executes <Command>. The <Command> string is a
     PWB macro definition. Calling this function is equivalent to
     passing a text argument to the PWB Execute function.
 
     The argument string can contain various types of arguments, macros,
     predefined editor functions, and extension functions. If text
     arguments are included in the command string, they must be enclosed
     in double quotation marks preceded by a backslash(\").
 
     Although most editing operations in extensions can be done
     directly, a few commands (such as Curdate) must be done indirectly
     with fExecute. In other cases, it is easier to use fExecute than
     the extension callback function. For example, it may be more
     convenient to use fExecute with the Psearch command than to use the
     search or REsearch functions.
 
     The return value is true or false, depending on the return value of
     the last executed function.
                                    -♦-