There are several reasons....
A) Its fast
B) Its easy
C) Theres MANY variations of it
D) It can be really good depending which BASIC you use
E) One of the first languages =P
Anyone else here a fan of BASIC languages (or RAD such as Delphi?)
I liked QuickBasic a great deal. It was easy to make small text and graphic games, and it had wonderful online documentation.
I cannot think of any other piece of software that I've seen with such great online help. It's a tragedy.
what is basic even used for?
What version of Basic does >>1 use? And for doing what?
>>2
I couldn't afford "online" waaaaaay back in 94 when I did qBasic. I had to settle for the built-in documentation and magazine subscriptions. Good memories though! Mostly did small crappy animations.
>>5
That's what I mean: the help you received when you hit F1. Those things used to be called online help. I'm not sure what they're called now.
Sorry I wasn't clearer.
I owned a Mac back then. The Mac port of QuickBASIC was pretty poor, although it had some neat stuff like polyphonic music... In the vein of RAD though, I really liked HyperCard and its spiritual successor, SuperCard.
Anyone ever play with those? I still think they're better then Visual Basic (not technically, of course, but from an ease-of-use and programmer's perspective.)
I remember HyperCard. we had to do a powerpoint-like presentation in elementary school but I ended up making a adventure puzzle game that was very similar to myst. They made me do it over but it was a pretty sweet game for something created by a kid in grade 6
A) WTF are you smoking? Any variant of BASIC is SLOOOOOOOOOOOOW
B) Easy to write simple programs, exponentially harder to write programs that do anything reasonably complex.
C) One word: standards
D) see C
E) and hopefully last language of its kind.
gridwars2 is programmed in basic, i think. its cool.
>>11
This is all pretty much what I was thinking when I saw this thread, but I was trying to be open-minded.
But yeah. I agree. Especially about "Easy to write simple programs, exponentially harder to write programs that do anything reasonably complex". I started programming in QBasic/QuickBasic and really got stuck for many years (mind you, I was a kid and it was just a hobby) and could not progress, because everything reasonably complex always seemed impossible.
I like the variation of BASIC called Pascal.
QBasic and friends were just magic. imo its like windows today in some way: as long as the user isnt that experienced he wont do anything causing serious problems. its quiet difficult to code errors that arent easy to find or really kill your machine. it took me a while in port programming before i decided to set that alternating bit on port 4 of a 486 to a constant value and after that i needed to reinstall DOS:-)
freebasic
its C with basic syntax, just alot harder to learn because you dont have a stupendous amount of tutorials to start with
youll have to learn it the hard way, or not at all :)
i use it, and ive been using C for a long long time
me neither, it was merely a heads up for those who think its a walk in the park just because it ends with "basic"
still, its a refreshing language and its multiplatform
i expect no less though
var t = threadcreate( cast(sub(byval as any ptr), @exit_on_escape), @sock )
var s = !"HTTP/1.0 200 OK\n" & !"Content-Type: text/html\n" !"Connection: Close\n\n"
s += !"<html> <head> <title> empty page </title> </head> <body> Hi. </body> </html>"
dim as socket_info si
do
dim as socket new_sock
if( new_sock.listen_to_new( sock ) ) then
? "Connection from " & *new_sock.connection_info
new_sock.put( *cast(ubyte ptr, strptr(s)), len(s) )
end if
loop while not sock.is_closed
threadwait( t )
a little snippet for a board daemon im making that will emulate this kind of board
basically it will have alot more than this thingie does and it will also be its own httpd :)
any ideas for features?
ill be adding telnet admin interface etc.
it IS the httpd, and yes it will be secure - eventually
first things first.. i just started with fb and i have to look at the keyword list as im going
I am a PureBasic user,
Basic is the best programming language for all me because I don't
need to make softwares as a job.
>>5,6
I always found the term "online help" to be confusing back in those days, apparently it's a holdover from the days when documentation was normally a physical book that came with the program.
>>19
Unless you're running a CGI server then that's how it's done.
Also, telnet just sits on top of TCP. You could upgrade to ssh no problem.