Yes, Janggut is right, although I would've formulated it differently. <img src="/ubbthreads/images/graemlins/winkwink.gif" alt="" />

A .BAS "program" is nothing else than a text file containing Basic commands. And "Basic" is the name of the programming language ! <img src="/ubbthreads/images/graemlins/exclamation.gif" alt="" /> So the commands MUST be in this particular programming language in order to be understood by the Interpreter QBASIC.EXE .

There are generally two sorts of programming languages : Interpreted oones and compiled ones. Pascal vor example is normally a compiled programming language, like C++ , for example. Ruby , Perl, Python and Basic are interpreted programming languages. (Although for QBASIC There once existed a compiler by Microsoft.

There are several flavours of Basic : QBasic ist just one of them, made by Microsoft. Dark Basic is one that is a current, different one (even with a compiler), not by Microsoft.
Since there are different flavours, they are a little bit incompatible to one another. You cannot mix, because they use different commands.

So, GORILLA.BAS is nothing than a text file containing the commands for a worms-like game. In order to be run, it needs the interpreter QBASIC.EXE.
The command for the console should look like this :

Code
qbasic.exe gorilla.bas


That's it - as long as you have both in one directory on your harddisk.

QBasic.exe looks a bit like the old DOS editor EDIT.EXE. In fact, edit.exe was once only a subset of qbasic.exe . <img src="/ubbthreads/images/graemlins/winkwink.gif" alt="" /> At the time when both were still shipped with DOS, you could start the editor by writing in the console
Code
QBASIC.EXE /EDITOR
. <img src="/ubbthreads/images/graemlins/winkwink.gif" alt="" />

And one last word : [i]These are no windows programs ![i] You can start the QBASIC interpreter by a double-click, but it wouldn't do much except displayx itself, so to say. <img src="/ubbthreads/images/graemlins/winkwink.gif" alt="" /> It's like starting an editor.

I hope this is sufficient or now ...

Alrik


When you find a big kettle of crazy, it's best not to stir it.
--Dilbert cartoon

"Interplay.some zombiefied unlife thing going on there" - skavenhorde at RPGWatch