On Tue, 22 Feb 2005 16:25:06 -0800, J. wrote:
> Hey Matt - chances are that .BAS program will only run (or compile) with
the
> variant of BASIC it was written for. Unless you can find that original
> interpreter/compiler, you're probably looking at making changes to get
it to
> work with another compiler or interpreter.
>
> Maybe hunt around for DOS 5 (or 3) and see if you can dig out an even
older
> QBASIC...
>
> Good luck!
>
> J.
>
>
> "Matt Floray" <butchcassidy@[EMAIL PROTECTED]
> wrote in message
> news:wuBLd.3413$cl1.359@[EMAIL PROTECTED]
>> Guys,
>>
>> need some help. I am not much of a programmer, to say the least. I
have
>> an old .BAS file that was written in July 1989. I want to compile it
into
>> an .EXE file. I tried running it in QBasic from DOS 6 (1994) and Pure
>> Basic but neither will run it.
>>
>> I am fairly certain the code is valid but how do I compile it and with
>> what?
It may be a GW-BASIC program that was saved in tokenized form. If you
look at the file with a text editor, do you see recognizable BASIC code
or gibberish? There are freeware utilities that will detokenize these
programs so that you can load them into QBasic, which will run most
GW-BASIC programs. That would probably be easier than finding a running
DOS 3.3 system. DOS 5 introduced QBasic, and DOS 4 was such a buggy mess
that I don't remember much other than deleting it and switching to DR-DOS.


|