954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

QBasic, what can i do to make my programs run without the QBasic program?

I wanna share with my friends but they dun have QBasic on thier comp. Ill put my programs on a floppy disc an give it to em but i cant figure out how to make them able to run without the actual QBasic program. It gets so frustrating! :evil:

OboroNinja
Newbie Poster
3 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

The short answer is: You can't.

The long answer is:
You can distribute QB along with the program, and use the command "qbasic /run program name"

Also, if you have QB 4.5, you can compile it. Unfortunately, QB 4.5 isn't available for download legally (AFAIK) and cannot be purchased anywhere.

Puckdropper
Posting Pro
500 posts since Jul 2004
Reputation Points: 23
Solved Threads: 23
 

yo hahaha

QBaisicGuy
Newbie Poster
1 post since Dec 2006
Reputation Points: 10
Solved Threads: 0
 
I wanna share with my friends but they dun have QBasic on thier comp. Ill put my programs on a floppy disc an give it to em but i cant figure out how to make them able to run without the actual QBasic program. It gets so frustrating! :evil:


There are a few Basic compilers available. From here I see FreeBasic and xBasic

Also found firstbas and GLBCC . Check here , too.

I've been using PowerBasic for years, but it must be purchased.

Google is very helpful ;)

If you try a few of these compilers, please post your reactions to them -- do they work well, do you have to make coding changes, stuff like that.

The short answer is: You can't.

The long answer is: You can distribute QB along with the program, and use the command "qbasic /run program name"

Also, if you have QB 4.5, you can compile it. Unfortunately, QB 4.5 isn't available for download legally (AFAIK) and cannot be purchased anywhere.


Sure you can, and I've found lots of stuff, like http://www.qbcafe.net and http://www.qbasic.com , as well as a lot of forums and sites dedicated to QBasic that I'm sure can point to more.

WaltP
Posting Sage w/ dash of thyme
Moderator
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 

no, that's no longer QBasic.
There are compiled languages with a syntax similar to QBasic, some of them might even take simple QBasic programs verbatim, but they're not QBasic and you certainly can't take a .bas file and expect another computer to run it that is too modern to have qbasic.exe installed.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 
no, that's no longer QBasic.

Sometimes you have to bite the bullet and do a minor upgrade... And some of the links I postedare for QBasic compilers.

WaltP
Posting Sage w/ dash of thyme
Moderator
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 
no, that's no longer QBasic. There are compiled languages with a syntax similar to QBasic, some of them might even take simple QBasic programs verbatim, but they're not QBasic and you certainly can't take a .bas file and expect another computer to run it that is too modern to have qbasic.exe installed.


well that is not necessarily true. you can move the executable to a San Disk of a similar storage device and have accessibility of most of the features

normakxlr5
Newbie Poster
1 post since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

It has been many years since I used Qbasic but, I know that b/c Qbasic is COMPILED the machine language, executable copy of the Qbasic code is on your machine, either hit enter after the compiled versions name at the DOS prompt or click on it in Windows.

* Unlike an interpreted language QBASIC DOESN'T NEED INTERPRETATION BY THE QUICK BASIC EDITOR.

John R. Baskette
Bachelor of Science in Information Technology/MIS.
The University of Texas, Arlington

JRB6478@ATT.NET
Newbie Poster
2 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You