is there are way to compile a .Bas file to .exe from MS-Dos
say i have a .Bas file and the qb.exe and the other files such as link.exe BC.exe & the .lib files in the same folder will it be possible to compile the program into a .exe file
OR
is there a command like |C:\WINDOWS\QB45\qb -c File.bas| to compile the bas file to .exe
Basically i dont want to use Qbasic itself to compile the program,,, i am actually writing a program which generates .BAS file so i also want the bas file to get compiled automatically
Thanks
Compiling .Bas files from MS-DOS
If you're using QB of any sort other than 1.1 (the one that came with DOS and Win95, etc.) then you can use BC.EXE - just run it without parameters and it will prompt you for the information, which you can then put into a command-line form. Then you will need to use LINK to link all the .obj files (plus the QB runtime libs) into a .EXE file.
- {Nathan}
- Veteran
- Posts: 1169
- Joined: Thu Aug 19, 2004 6:08 pm
- Location: The wetlands of central Ohio, USA
- Contact:
compiling means converting the program into machine code so your processor can run it. Get qb45 here, at www.qb4all.com, www.qbnz.com, ect, and ect.
BC ompiler Options... Etc..
A description of what a compiler does, the BC compiler options and metacommands are here:
http://qbcm.hybd.net/issues/1-9/#letters
________
volcano vaporizer review
http://qbcm.hybd.net/issues/1-9/#letters
________
volcano vaporizer review