/LINESIZE 74
/PAGESIZE 52
/FLAG US _
/UNDERSCORE CR
/FLAG NXB ^
/MARGIN 8
/NUMBER
/NONUMBER
/HEADER PAGE
/JUSTIFY
/AUTOPARAGRAPH 4 1
/AUTOLIST
/CENTER RUN3 (Rev. 4.03)^^^^^^^^
/LINE 1
/CENTER A KEYBOARD SWITCH OPTION FOR BASIC^^^^^^^^
/LINE 2
/CENTER Provided to AMUS by ULTRASCIENCE / Div. Gibbs Laboratories^^^^^^^
/LINE 1
/CENTER Horace Satmar^^^^^^^
/LINE 3

Ultrascience is happy to provide programs and patches to the AMUS network and
encourages others to do the same.  Ultrascience believes that all users will
benefit by sharing programs through AMUS.  If anyone has comments regarding
Ultrascience programs, please send them to:
Ultrascience, 1824 Wilmette Ave.,
P.O. Box 558, Wilmette, IL 60091
/LINE 3
/DI
_RUN3.M68_ is a patch which will allow BASIC programs to input data from
the keyboard even when running under control of a command file.  Normally,
a program running in a command file takes all input from the
command file itself until the command is exhausted or the program ends.
With RUN3 installed an optional switch will be active.
/LINE 1
Usage: RUN/n basic program
/LINE 1
Where: `n' is the number of lines to be entered from the command file.  After
`n' lines have been read from the command file or the command file has been
exhausted, all input will be read from the keyboard.
/LINE 1
Comments: If the switch is
not used or the program is not run from a command file, RUN will operate
as before.
The switch default is "0", which prevents any command file input to
basic.
/LINE 1
Note that this patch eliminates the need for using :K to force keyboard
input in a BASIC program so it is recommended that :K not be used in
conjunction with the run switch.  Using both the :K and the run switch
will cause the command program to wait for keyboard entry when the
basic program exits.
By using this patch in conjunction with CHOICE*, it is
easy to develop interactive, menu driven command files.
/LINE 1
* For more information on CHOICE refer to CHOICE.LST (available on the AMUS
network).
/EDI
/LINE 3
/CENTER INSTALLING THE PATCH^^^^^^^^

 In order for this patch to work, the RUN.LIT[1,4] which is currently
in use must have a hash total of 665-501-321-464.  It is possible that at
least two previous patches, RUN1 and RUN2, will have to be installed in order
to achieve this hash total. If you do not have them on your system you
can find them on the AMUS network.
 To install this patch log into the patch account. If you don't
have one, create it (any PPN will do).  Copy the RUN.LIT file from DSK0:[1,4]
into the account and copy RUN3.M68 file into the account as well.
After these
two files are in the patch account enter the following line:
/LINE 1
/DI
PATCH RUN WITH RUN3
/EDI
/LINE 1
The RUN3.M68 file will be automatically assembled.
When the patch is complete the hash total of the resulting RUN.LIT in the
patch account should be as indicated in the patch .M68.
If the hash total does not match,
there was an error; recheck the hash total of the input RUN.LIT and the
patch .M68.

If the new hash total is correct, the RUN.LIT in SYS: should be
renamed to RUN.OLD and the new
RUN.LIT copied into SYS: and erased from the patch account.
The RUN.LIT in SYS: will now run as described above.
If any other patches become available from Alpha Micro, these patches
must be made on the RUN.OLD.
Ultrascience will make an effort to keep an updated version of this
patch on the AMUS network
in the event the RUN program will be further modified by Alpha Micro.