Page 1 of 1

Making a program in BASIC for command line

Posted: Wed May 24, 2006 9:20 pm
by toast
How do I make my BASIC program be in a dos window when executed? I would like to make it .COM.

Posted: Wed May 24, 2006 9:47 pm
by feyd
It would have to be compiled. It's been years since I've even touched BASIC. Way before compilation of the files was available, so I couldn't tell you how that is done.

Posted: Wed Jun 07, 2006 9:03 pm
by alex.barylski
feyd wrote:It would have to be compiled. It's been years since I've even touched BASIC. Way before compilation of the files was available, so I couldn't tell you how that is done.
You must be refering to GW-BASIC or QBasic? I "borrowed" a copy of QuickBasic which came with a compiler... :P

Oh the days :)

Posted: Wed Jun 07, 2006 9:05 pm
by alex.barylski
Look into http://www.freebasic.net and build your application as a console NOT GUI or DLL, etc...

COM files are all but practically extinct...you may also get confused because M$ introduced a technology called COM (Component Object Model) but these are a far cry from COM executable files...

Anyways...look into that application and start working with console