Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Execute Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     The Execute function executes PWB functions and macros by name. It
     allows you to execute commands that are not assigned to a key or
     execute a sequence of commands in one step.
 
     The Execute function executes the commands by the same rules as
     macros. Function prompts are suppressed, and you can use the macro
     flow-control and macro prompt directives. You do not need to
     define a macro to use these features.
 
     Arg Execute («arg» «execute»)
          Executes the text from the cursor to the end of the line as a
          PWB macro.
 
     Arg <linearg> │ <textarg> Execute
     («arg» <linearg> │ <textarg> «execute»)
          Executes the specified text as a PWB macro.
 
     Returns
 
     True:  Last executed function returned true.
     False: Last executed function returned false.
 
     See
 
     Writing PWB Macros
     Macro Prompt Directives
     Macro Conditionals
                                    -♦-