The Obsolescence of QuickBasic
Posted: Wed Nov 20, 2002 9:18 pm
The Obsolescence of QuickBasic
I'm a computer programmer by trade having been in the consulting business for over ten years. While I'm currently speaking a smattering of mainframe and client/server languages (Cobol, Assembler, ezt, PHP, SqlServer, UNIX Scripting, etc), my heart harkens back to the old QuickBasic language of yesteryear. When I first began dabbling into computers, I learned Basic. By the time I obtained my first copy of QuickBasic 4.5 (mid-90's), this development language was already in decline (from a business perspective).
However, I still loved this simple and quirky little language. I would write simple games for my toddler daughter and work on my epic RPG game. I had originally written this simple NetHack-like RPG game in the early 1990's. It employed all the basic ingredients of Adventure and I worked on various versions of this game for years but never releasing it to the public via Freeware. At one point, I ported and redesigned the game on Visual Basic. While VB has many advanced features and far mor functionality that QB, I found specific aspects of the Windows-development framework quite limiting.
For instance, in QB, I could display a simple multi-colored text line on row one (1) of the screen.
LOCATE 1,2: COLOR 4: PRINT "You are in the Kingdom of ";: COLOR 14: PRINT "Sumeria!"
As far as I know, this is impossible to accomplish with Visual basic. As you may know, VB requires the creation of a text field or object on the form and color is one associated property. I can either made it red, green, blue, etc. but I cannot make the first portion of text one color and the remaining portion of text a different color. I could break the text into two text fields with two separate colors but then spacing becomes an issue with auto-matic resizing of text fields--it becomes messy, doesn't line up properly and its just not as clean.
The other piece of programming ease within QB that is absent in VB is the ability to display any character at a specific coordinate on the screen. That LOCATE command! Within QB, I could create simple two-dimensional tables (rows and columns). Referencing cells within these tables was simple by using the LOCATE command (i.e. LOCATE R%, C%). Not so simple in VB. I had to create one text field for each cell in my table, spend vast amounts of time sizing and aligning them and then I had to create specialized functions/subs for populating data within them. More complicated than QB to be sure.
Recently, I downloaded QB71 and played around with it for a couple of days. Simple and primitive in some ways yet so effective for simple programming tasks. VB has an excellent IDE while QB is... well... cumbersome with an ugly old editing environment. Notepad provides clearer text entry than that ugly old blue screen used by QB. And QB does not support the almost universal CTL-C (cut), CTL-V (paste).
And then there's C. I coded quite a bit in C in the mid to late 1990's. After years of corporate business telling us we shouldn't be developing business applications in 370 Assembler because it was too complicated... too low-level and difficult to maintain--they give us C. The C language is, in fact, an excellent yet unforgiving language. While pointers and low-level memory addressing are fundamental to operating system programming (for which C was originally developed)--it is not necessarily so for basic programming tasks. While the pointers provide power--they also can provide hours of trying to figure out the cause of why some storage got zapped and the ensuing abend. So, insofar as a hobby language, one which I can fluently write code--C is not a candidate.
Today, I work with MS-Excel and VBA. VBA is the visual basic programming language used by Excel's macros. It's an excellent little extension of QB and VB. It does not, however, contain compiling abilities. That is, I cannot compile the code and make it into an .exe file which I could then distribute (if anyone knows of a way to do this, please let me know).
I am in search of a simple programming language that compiles like QB without the Windows limitations of VB. I've seen PowerBasic but am reluctant to shell out cash for a language I can get for free.
Has anyone tried LibertyBasic? Has anyone tried XBasic? Reviews?
I'm a computer programmer by trade having been in the consulting business for over ten years. While I'm currently speaking a smattering of mainframe and client/server languages (Cobol, Assembler, ezt, PHP, SqlServer, UNIX Scripting, etc), my heart harkens back to the old QuickBasic language of yesteryear. When I first began dabbling into computers, I learned Basic. By the time I obtained my first copy of QuickBasic 4.5 (mid-90's), this development language was already in decline (from a business perspective).
However, I still loved this simple and quirky little language. I would write simple games for my toddler daughter and work on my epic RPG game. I had originally written this simple NetHack-like RPG game in the early 1990's. It employed all the basic ingredients of Adventure and I worked on various versions of this game for years but never releasing it to the public via Freeware. At one point, I ported and redesigned the game on Visual Basic. While VB has many advanced features and far mor functionality that QB, I found specific aspects of the Windows-development framework quite limiting.
For instance, in QB, I could display a simple multi-colored text line on row one (1) of the screen.
LOCATE 1,2: COLOR 4: PRINT "You are in the Kingdom of ";: COLOR 14: PRINT "Sumeria!"
As far as I know, this is impossible to accomplish with Visual basic. As you may know, VB requires the creation of a text field or object on the form and color is one associated property. I can either made it red, green, blue, etc. but I cannot make the first portion of text one color and the remaining portion of text a different color. I could break the text into two text fields with two separate colors but then spacing becomes an issue with auto-matic resizing of text fields--it becomes messy, doesn't line up properly and its just not as clean.
The other piece of programming ease within QB that is absent in VB is the ability to display any character at a specific coordinate on the screen. That LOCATE command! Within QB, I could create simple two-dimensional tables (rows and columns). Referencing cells within these tables was simple by using the LOCATE command (i.e. LOCATE R%, C%). Not so simple in VB. I had to create one text field for each cell in my table, spend vast amounts of time sizing and aligning them and then I had to create specialized functions/subs for populating data within them. More complicated than QB to be sure.
Recently, I downloaded QB71 and played around with it for a couple of days. Simple and primitive in some ways yet so effective for simple programming tasks. VB has an excellent IDE while QB is... well... cumbersome with an ugly old editing environment. Notepad provides clearer text entry than that ugly old blue screen used by QB. And QB does not support the almost universal CTL-C (cut), CTL-V (paste).
And then there's C. I coded quite a bit in C in the mid to late 1990's. After years of corporate business telling us we shouldn't be developing business applications in 370 Assembler because it was too complicated... too low-level and difficult to maintain--they give us C. The C language is, in fact, an excellent yet unforgiving language. While pointers and low-level memory addressing are fundamental to operating system programming (for which C was originally developed)--it is not necessarily so for basic programming tasks. While the pointers provide power--they also can provide hours of trying to figure out the cause of why some storage got zapped and the ensuing abend. So, insofar as a hobby language, one which I can fluently write code--C is not a candidate.
Today, I work with MS-Excel and VBA. VBA is the visual basic programming language used by Excel's macros. It's an excellent little extension of QB and VB. It does not, however, contain compiling abilities. That is, I cannot compile the code and make it into an .exe file which I could then distribute (if anyone knows of a way to do this, please let me know).
I am in search of a simple programming language that compiles like QB without the Windows limitations of VB. I've seen PowerBasic but am reluctant to shell out cash for a language I can get for free.
Has anyone tried LibertyBasic? Has anyone tried XBasic? Reviews?