Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing qbasic code via another qbasic code

Status
Not open for further replies.

jackz15

Programmer
Jun 28, 2006
103
US
I'm sure there is a way to do this, but I do not know the function for this. Can some one tell me? I just want to be able to call for another basic code to execute with a basic code.
Thanks.
 
sure.
chain "c:\qb\myprog.bas"
(or .exe if compiled using brun45)
 
I don't know if this will help or if it is what you are doing but.

Consider using a "SHELL" command to execute a "BAT" bile that "STARTS" another command window which can run QBasic or any thing else it wants in it's own window.

Computer thought: I teach a lot of programming so I can learn. You can never learn it all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top