HELP PASCAL                                                   R.Evans, Jan 83

               COMPILING PASCAL PROGRAMS WITHOUT LEAVING VED
               =============================================

    Three commands are provided in VED to allow the compilation and running
of Pascal programs conveniently, ie without returning to DCL command level.
The commands are as follows:

        <ENTER> pascomp     -   compile and link current file (creates .obj
                                and .exe files in the same directory as the
                                source).

        <ENTER> pasexec     -   execute a previously compiled image of the
                                current file (ie look for a file in the same
                                directory as current file, but .exe not .pas,
                                then RUN it).

        <ENTER> pasrun      -   compile AND execute current file (ie
                                combination of two previous commands).

In each case the current file must be a .pas file (otherwise VED will
object). The screen will clear and various messages will be produced as
compilation proceeds.

SPECIFYING INPUT FROM AND OUTPUT TO FILES

Each of the above commands may optionally have assignments of input and
output to files (or devices). The assignments take the form:

            in=foo.dat;         (get input from file foo.dat)
            out=results.lis;    (output to results.lis)

Note that spaces are not permitted and the semicolon is always required.

IO assignments may be in either order (if both specified) and the default
is to read from and write to the terminal. Devices,directories etc may be
specified as required (the string between '=' and ';' is passed literally
to dcl).


Examples:

        pasrun                          (input and output to terminal)
        pasrun in=mydat.;out=results.lis;
        pasrun in=mydat2.;             (output to terminal)
        pasrun out=bing.baz;

Note - input and output specifications amy be given with any of the above
commands, but pascomp doesn't use them for anything, since they only apply
when the program is run.
