hi

United Arab Emirates
September 9, 2009 4:03am CST
plz tell me about GW BASIC language if somebody did it please tell me
3 responses
@rosdimy (3926)
• Malaysia
9 Sep 09
I did it a long time ago. Nowadays many people use Visual BASIC. What exactly do you want to know about GW BASIC? GW BASIC is DOS based. Running it in Windows will open up a DOS window. Codes written in it will not run if they are invoked through VBASIC. If you want to learn BASIC it is better to try your hands on Visual BASIC.
• United Arab Emirates
10 Sep 09
actually i am a student of computer science and GW BASIC is included in my course and i have to learn it
@rosdimy (3926)
• Malaysia
10 Sep 09
As yuo may know by now, we have to number each line. One of the problems with BASIC is that it is easy to produce 'spaghetti' code, with the liberal use of GOTOs. In writing a piece of code, it is better for you to get used to the idea of using separate modules for each task. In various versions of early BASIC they are called sub-routines. There is a need of a 'GOSUB' and 'RETURN'. The use of subroutines is seen as a waste by many students when it comes to writing simple programs like printing "Hello World". What is important is to get into the habit of using sub-routines. It will make life easier as the program grows in complexity. For example it is easier to debug a program with the TRON function, because each important task is enclosed in separate sub-routines. It is also easier to add other tasks or function, simply by creating another subroutine. Just remember to make a call to it from the main module. The basic format that I use is to have a start routine consisting of only a menu. Each choice sends the user to a different subroutine. Maybe you have already been informed about it, but just in case, use line numbering in steps of 10, or greater if you want to. It makes it easier to add other lines in the future.
@EliteUser (3964)
• Australia
14 Sep 09
Hey, I don't really know how to do GW Basic coding languages, sorry about this. Hopefully someone else will be able to answer your question better than I have done, in a really good way so you can actually benefit from it. Make sure you have a good day, Happy Lotting!!
• United Arab Emirates
14 Sep 09
thanks for commenting
@pierone (1894)
• Italy
18 Sep 09
OMG. GW-Basic is something really old. I was using it more than 20 years ago. Anyway, when I was in the university, we had Fortran and Pascal to learn ;) Best wishes for your study. See you around.