BBC BASIC for Windows
« Run one program from within another. »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:57pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Run one program from within another.  (Read 1171 times)
TheFamousCash
New Member
Image


member is offline

Avatar




PM


Posts: 16
xx Re: Run one program from within another.
« Reply #8 on: Mar 21st, 2015, 7:11pm »

I am aware of your dislike for programs using full screen and I agree in principle. There is no point in justifying why I used it in this particular program, it just happens it caused the problem.

Unless I am mistaken, if I *RUN a program from within another, I can't exit the program before executing the command.

The next command after the *RUN command is *QUIT.

If I *QUIT, I can't then *RUN as the program has terminated.

Bob.
User IP Logged

rtr2
Guest
xx Re: Run one program from within another.
« Reply #9 on: Mar 21st, 2015, 9:16pm »

on Mar 21st, 2015, 7:11pm, TheFamousCash wrote:
The next command after the *RUN command is *QUIT. If I *QUIT, I can't then *RUN as the program has terminated.

I don't follow. I was suggesting that you *RUN the external program without waiting for it to complete (semicolon terminator), then immediately execute a QUIT statement in the calling program. That way there's only a very short 'overlap' during which both programs are running simultaneously. That's the closest you can get to a CHAIN-like behaviour with EXEs, which I thought was what you wanted. Maybe I misunderstood.

I should perhaps say, in all fairness, that what you are trying to achieve would be significantly easier in Liberty BASIC!

Richard.
« Last Edit: Mar 21st, 2015, 9:18pm by rtr2 » User IP Logged

TheFamousCash
New Member
Image


member is offline

Avatar




PM


Posts: 16
xx Re: Run one program from within another.
« Reply #10 on: Mar 23rd, 2015, 3:12pm »

Just for completeness.

I have successfully achieved the goal.

Customer's disc contains an "exe" "INSTALL" program and a folder containing his main "exe" program and associated files.

Activating the "INSTALL" program loads the contents of the folder (main program and files) to customer's computer and deletes all files (including the "INSTALL" program) on the disc. The main program is then *RUN.

Many thanks, once again, for your invaluable help and patience.

Regards,

Bob.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls