[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXIT command in BASIC...



Tony Cianfaglione <ab616@chebucto.ns.ca> wrote:

> In my startup program in ProDOS BASIC, once I finish with a program, I
> would like to redirect it to run another program afterwards.  What is the
> command for this?

If you want to return to the ProDOS program selector (or whichever
third-party program selector you might have installed) then use the BYE
command:

10 PRINT CHR$(4);"BYE"

(Note that this command isn't available in BASIC.SYSTEM version 1.0,
only in 1.1 and later.)

-- 
David Empson
dempson@actrix.gen.nz