Nick, To compile a program, I think you need the -c switch. Assuming gwbasic is in c:\gwbasic, and your source is in that same directory, go to run on your start menu, and type cmd. Hit ENTER, and type: cd c:\gwbasic Then type: gwbasic -c source This will take your source file and compile it into source.bas. To run a compiled program: gwbasic output.bas If -c does not work you can look up gwbasic syntax on a search engine (I haven't used it in a while but this should help you get started.) Munawar
On 9/4/09, Nick Helms <[email protected]> wrote: > downloaded the compiler. > Do I just run the .exe file and then type all my code in to it line by > line by line just hitting enter after each line? > If so, then how do I run/compile all of my code/make a .exe file out of it? > Thanks much, > Nick > Or, if I don't insert the code directly in to the compiler, then how > do I import for example a .txt file full of code for compiling? > > > > On 9/4/09, Munawar Bijani <[email protected]> wrote: >> Hi, >> GWBasic can compile and run compiled QBASIC programs for you. You can >> ddownload it from the BPC website at the following address: >> http://bpcprograms.com/programs/utilities/dos/gwbasic.zip >> The site also contains basic "getting started" tips that you can find on >> the >> support page. >> Munawar A. Bijani >> "Knowledge is of two types: absorbed and heard. The heard knowledge is >> only >> useful if it is absorbed." - Imam Ali Ibn Abu Talib, Nahj Al-Balagha >> mailto:[email protected] >> http://www.bpcprograms.com >> ----- Original Message ----- >> From: "Nick Helms" <[email protected]> >> To: "Gamers Discussion list" <[email protected]> >> Sent: Thursday, September 03, 2009 5:23 PM >> Subject: [Audyssey] off topic: qbasic compiler >> >> >>> Hi all, >>> I am looking for a good basic/qbasic compiler, but am having a hard >>> time finding one. >>> Is it possible to write some code in notepad or some other text editor >>> and then import it in to the compiler? Or will I need an inturpritor? >>> Thanks much, >>> Nick >>> >>> >>> -- >>> website: Nickhelms.net >>> sip phone number: 360-526-6509 >>> Skype: Nickster919 >>> twitter: Nickster919 >>> >>> --- >>> Gamers mailing list __ [email protected] >>> If you want to leave the list, send E-mail to >>> [email protected]. >>> You can make changes or update your subscription via the web, at >>> http://audyssey.org/mailman/listinfo/gamers_audyssey.org. >>> All messages are archived and can be searched and read at >>> http://www.mail-archive.com/[email protected]. >>> If you have any questions or concerns regarding the management of the >>> list, >>> please send E-mail to [email protected]. >> >> >> --- >> Gamers mailing list __ [email protected] >> If you want to leave the list, send E-mail to >> [email protected]. >> You can make changes or update your subscription via the web, at >> http://audyssey.org/mailman/listinfo/gamers_audyssey.org. >> All messages are archived and can be searched and read at >> http://www.mail-archive.com/[email protected]. >> If you have any questions or concerns regarding the management of the >> list, >> please send E-mail to [email protected]. >> > > > -- > website: Nickhelms.net > sip phone number: 360-526-6509 > Skype: Nickster919 > twitter: Nickster919 > -- Munawar A. Bijani Mailto:[email protected] --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
