
  In the normal course of program development, you will edit,
  compile, link, and test programs. With the exception of editing,
  these functions are performed by various compiler, linker, and
  loader programs. Many of these programs have command line
  interfaces which provide a convenient method of invocation without
  leaving SPF/SE.

  For convenience, you may also want to execute Dialog or Edit
  macros via the User Command interface.

  The User Command Dialog lets you to store frequently used commands
  under symbolic names. For example, you could create a stored
  command named "compile" which invokes your compiler on the current
  edit file and saves the resulting error messages (if any) in an
  external file which you could then merge with your program source
  via the MERGEMSG primary command.

  To create a new User Command, click the "NEW" button or click the
  right mouse button and select the "New" verb. The "New" dialog has
  the following fields:

  *  NAME is the User Command name and is a required field. (e.g.
     "compile")

  *  DESCRIPTION is a brief description of what the stored command
     does and is a required field.

  *  COMMAND is the literal text of the external command with any
     parameters it may require. This field is limited to 255
     characters.  The external command may contain substitution
     variables prefixed with ampersand from the following set:

     &ZDSN     - path + name of current edit file
                 Example: C:\PROJECT\SOURCE\ACCOUNTS.COB
     &ZDSNPATH - path of current edit file (not including name)
                 Example: C:\PROJECT\SOURCE
     &ZDSNNAME - name of current edit file (not including path)
                 Example: ACCOUNTS.COB
     &ZDSNBASE - name of current edit file minus extension
                 Example: ACCOUNTS
     &ZDSNEXT  - extension of current edit file (not including name)
                 Example: COB
     &ZSEMI    - semicolon character

  *  MODE, check "External" for system commands, Window
     applications, and .BAT or .CMD files. Check "Macro" for SPF/SE
     Dialog or Edit macros.

  When "Macro" is set, INTERP, STOP, and BATCH are ignored.

  *  INTERP

     If set TRUE, the system command interpreter is invoked and the
     command and its parameters are passed to it. Use this method for
     launching console applications. SPF/SE operation is suspended
     during execution of a console application.

     If set FALSE, the command and its parameters are passed directly
     to the Windows CreateProcess API. Use this method for launching
     native mode Windows applications.

     This field applies to External commands ONLY.

  *  STOP  (INTERP commands only)

     If set TRUE, the command window will pause after command
     execution to allow examination of console messages. Press any key
     to dismiss the command window.

     If set FALSE, the command window will automatically dismiss after
     the command is executed. In this case examination of console
     messages is problematic as they are only visible as long as the
     command is in progress.

     This field applies to External commands ONLY.

  * BATCH

     If set TRUE, internal functions necessary for proper execution of
     .BAT files are performed.

     If set FALSE, normal external command processing is used as
     described above.

     When BATCH is checked, INTERP is assumed.

     This field applies to External commands ONLY.


  Console applications always suspend SPF/SE

  Windows applications never suspend SPF/SE

  To select an existing User Command for execution, double-click on
  the desired variable with the left mouse button.

  Alternatively you can click once with the left mouse button, then
  click the right mouse button and select the "Select" or "Edit"
  verb.  The "Edit" dialog has the same fields as the "new" dialog
  and they operate in the same manner.

  WARNING:  The Windows command interpreter parses command strings
  on blank. When ZDSN vars are used and their resulting value is a
  path or file name with embedded blanks, they should be enclosed in
  double quotes.

