![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Any body still use BASIC?
I was wondering if anyone still uses any dialects of the BASIC language (mainly FreeBASIC).
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
TSF Enthusiast
|
Re: Any body still use BASIC?
Last time I used BASIC was in maybe 2000-something, and on a commodore 64. I would use it now for simple solutions if I could find a free compiler, but it's really just as easy to download Microsoft Visual C++ express edition and write something up. I can even use my goto statements, which apparently irritates the hardcore object-oriented programmers I talk to.
__________________
Antec Neo Power 500W, ABIT IP35-E, Intel E2180@2.66Ghz, Corsair XMS2 2x1GB DDR2-800, PNY 8800GT, 320GB Seagate * lazy college student alert *- If I've inadvertently ignored a thread, please Let me know about it Have I helped you solve your problem? Donate to Techsupportforums Klart Skepp!
|
|
|
|
|
|
#3 (permalink) |
|
Mentor, Analyst - Security Team
Join Date: May 2006
Location: Oregon
Posts: 2,503
OS: MacOS X, Debian, OpenBSD, Windows
|
Re: Any body still use BASIC?
I'm sure you've been pointed to Go To Statement Considered Harmful by Edsger W. Dijkstra.
![]() I haven't used a BASIC for ~10 years (Visual Basic was the last). I have half-a-mind to fire up my C64 and tinker around with it again. Ah, Commodore BASIC 2.0. I miss those days. Code:
PRINT""+-1
__________________
The chance to begin again in a golden land of opportunity and adventure. Need HijackThis help? Please read MicroBell's Five Step Process before posting.
Please donate and help keep this site free to all. ![]() UNITE/ASAP: Proud member since 2006 |
|
|
|
|
|
#4 (permalink) | |
|
Registered User
|
Re: Any body still use BASIC?
Quote:
As for the Goto statement, I found that it is better to use Gosub if you can, or declare the sub and functions, and use them then. I try to stay away from using Goto as much as possible but still use it just as much as Gosub, but I'm getting better!! |
|
|
|
|
|
|
#5 (permalink) |
|
TSF Enthusiast
|
Re: Any body still use BASIC?
I'm pretty sure GCC supports C++ as well, although I'm not sure. But I am also a fan of BASIC, even as much as today's hardcore coders hate it, as well as other line-by-line coding.
__________________
Antec Neo Power 500W, ABIT IP35-E, Intel E2180@2.66Ghz, Corsair XMS2 2x1GB DDR2-800, PNY 8800GT, 320GB Seagate * lazy college student alert *- If I've inadvertently ignored a thread, please Let me know about it Have I helped you solve your problem? Donate to Techsupportforums Klart Skepp!
|
|
|
|
|
|
#6 (permalink) |
|
Registered User
|
Re: Any body still use BASIC?
Yes, GCC supports C++ (it's actually used as gpp). If you like BASIC then check out FreeBASIC, its based on compatibility with QBASIC but has alot more features. As for language's I use whatever I can to get the job done!!! I honestly wish there was an easier way to compile Python code. Then I think it would be more main steam language, rather than add-on and scripting.
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
Join Date: Jan 2006
Posts: 3
OS: Vista Ultimate, Debian Sid
|
Re: Any body still use BASIC?
Slim... sure, it can do most of what C can (though, not very many of Cs low level operations...), but it is a weak language in comparison. Good luck finding anyone using basic for any even mildly critical applications. It can't do everything C can, so you're not quite right there. Try inserting inline ASM into your BASIC, and see what happens.
Slim - goto isn't a good idea no matter how you look at it. Even non OO programmers will complain about it. :D |
|
|
|
|
|
#8 (permalink) |
|
Registered User
|
Re: Any body still use BASIC?
BASIC is still popular amoungst beginners, it's a very simple language to learn. My only quarrel with it is that it tends to be used long past it's expiration date for the "learning process".
To be honest, those anti-GOTO advocates are just ignorant. Firstly, GOTO's scope is only a near jump within the same function, and secondly there really is no way you can cause any serious problems. |
|
|
|
|
|
#9 (permalink) |
|
TSF Enthusiast
|
Re: Any body still use BASIC?
I agree. The only drawback is that it's not as readable as some of the other loops, which makes it possibly more difficult to maintain.
Not an issue if your solution is a "once and done" sort of thing.
__________________
Antec Neo Power 500W, ABIT IP35-E, Intel E2180@2.66Ghz, Corsair XMS2 2x1GB DDR2-800, PNY 8800GT, 320GB Seagate * lazy college student alert *- If I've inadvertently ignored a thread, please Let me know about it Have I helped you solve your problem? Donate to Techsupportforums Klart Skepp!
|
|
|
|
![]() |
| Thread Tools | |
|
|