Inside3D!
     

Qbasic ??
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> General Programming
View previous topic :: View next topic  
Author Message
Jokerzwild420



Joined: 07 Jan 2009
Posts: 20

PostPosted: Mon Mar 23, 2009 1:00 am    Post subject: Qbasic ?? Reply with quote

Well im taking Qbasic for 1 of my online schooling class's...so far ive only done 1 assignment so it seems a bit eh...but i was wondering if any of u know Qbasic and would mind helping me from time 2 time on it ? im interested in learning coding but i need sumthing 2 FORCE me 2learn it (heh..lazyness xD) but this is why im taking this class because it IS forcing me 2 learn it...but um any info on what Qbasic is, what its used for, ect would be very helpfull and i will be very thankfull for any help i get on this..thanks guys !

-Jokerzwild your friendly neighborhood Juggalo
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Mon Mar 23, 2009 4:59 am    Post subject: Reply with quote

http://www.answers.com/topic/qbasic
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Madfox



Joined: 15 Jan 2005
Posts: 36
Location: Holland

PostPosted: Sat Jul 11, 2009 1:12 am    Post subject: Reply with quote

I have the dummy series of Programming in DOS.
It contents the orriginal Qbasic, where as the link from curiux ends up in LibertyBAsic.

What do you want to know?

Some test programs ending on test.bas?
Back to top
View user's profile Send private message Visit poster's website
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Sat Jul 11, 2009 2:45 am    Post subject: Reply with quote

QBasic was microsoft's version of basic around the win3.1 era.
I remember making some app that started system commands with it.
I made it say something like 'Failure reading drive C. Abort, Retry, or Continue', as soon as the app that it started quit.

Was funny when I started windows with it (win3.1) and then left it for my mum to switch off. :)


But yeah, there's not really that much you can easily do with it.
You can get keyboard input, you can print text on the screen, you can read files, and you can invoke other apps to do stuff. Apparently you can also interract with an x86 io bus. But that cannot be pretty. But it does give you access to the pc speaker if you know how to drive it. If you're hosted in windows (NT anyway), windows will prevent you from doing anything fun - like reading raw disk sectors.

It was replaced by visual basic. The syntax is mostly supported in VB6. VB7 can presumably convert from it. But VB is much more versatile, with a greater wealth of libraries.


You can make games with qbasic, so long as you can design those games to use only a text display. With io bus access you could poke the graphics card into using a VGA mode, but that's going to be too slow.

But yeah, other than hacking your machine, the commercial use of qbasic is making financial applications. Simple single-file line-based databases, etc which the creator has to code using text files - things which don't have many interactions with the rest of the system, and are not too performance dependant.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Sat Jul 11, 2009 8:38 am    Post subject: Reply with quote

I've done many things in QBasic for Quake modding. it's a fun, easy, fast, and simple language. I even made a 3D quake .map viewer (not bsps) once. Good stuff but I haven't used it for years now.
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Madfox



Joined: 15 Jan 2005
Posts: 36
Location: Holland

PostPosted: Mon Jul 13, 2009 8:41 pm    Post subject: Reply with quote

Make your computer sing! (Only on DOS6.2)

CLS
INPUT "HOW MANY DRUNKEN SOLDIERS"; MUSIC
FOR I = 1 TO MUSIC
PLAY Muziek$
PLAY "MB T160"
PLAY "L4 E L8 E. L16 D L4 C."
PLAY "< L8 G > C. L16 D"
PLAY "L8 E F"
PLAY "L4 E D"
PLAY "L4 D L8 D. L16 D L4 D. "
PLAY "L8 D D P32 L16 E L8 P32 F L8 G P32 A G F E "
PLAY "L4 C P32 L8 C P32 L16 C"
PLAY "L16 C P32 <B P32 A P32 L8 G P32"
PLAY "L8 G >C L16 D E. L4 F E L4 D C. P4"
NEXT


END
Back to top
View user's profile Send private message Visit poster's website
Urre



Joined: 05 Nov 2004
Posts: 1073
Location: Sweden

PostPosted: Sat Jul 18, 2009 8:54 am    Post subject: Reply with quote

I'm pretty sure I've seen loads of games with elaborate 2D graphics written in Qbasic. I made a bouncing ball screensaver with it a long time ago. Or is there possibly a difference between Qbasic and QuickBasic?
_________________
Look out for Twigboy
Back to top
View user's profile Send private message Visit poster's website
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Sat Jul 18, 2009 2:46 pm    Post subject: Reply with quote

2d graphics are very possible in QBASIC, hell, I managed to make a rotating 3d cube once.
_________________
Apathy Now!
Back to top
View user's profile Send private message
Jokerzwild420



Joined: 07 Jan 2009
Posts: 20

PostPosted: Sat Jul 18, 2009 5:28 pm    Post subject: Reply with quote

nice Very Happy..i droped the class though because i asked my teacher if qbasic could be used in ANYWAY for coding in quake and she said no it wouldnt even help me begin 2 understand quakes coding language..so i laughed and told her 2 drop me from the class =/...gah...regrets >.<..but o well im slowly gona be teaching myself how 2 code over the next months..havent started yet tho cuz B-day is tuesday :] so knockin that out the way then ima look at few tutorials n get crackin on learnin it...should be fairly easy 2 learn since i can have Ceriux help me out a bit with the easy stuff......n isnt qbasic just like a updated version of quickbasic ? thats what i was told atleast, not 2 sure though
Back to top
View user's profile Send private message
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Sat Jul 18, 2009 7:18 pm    Post subject: Reply with quote

QBASIC isn't a useful programming language for actually coding anything really, but it is useful for learning the basics of programming. BASIC (Beginners All Symbolic Instructional Code) was designed as a language for teaching programming, so is a good language for learning the basics (pun intended), even if it isn't directly useful.
_________________
Apathy Now!
Back to top
View user's profile Send private message
Jokerzwild420



Joined: 07 Jan 2009
Posts: 20

PostPosted: Sun Jul 19, 2009 1:21 am    Post subject: Reply with quote

no i know it isnt very useful but i got the class so it would help me be able to understand coding and help me be able to pick up on a different coding languages...but my teacher told me that it wouldn't help =/...she recommended this other class i can take for coding called python ?..do you think it would be worth my time ?
Back to top
View user's profile Send private message
reckless



Joined: 24 Jan 2008
Posts: 390
Location: inside tha debugger

PostPosted: Sun Jul 19, 2009 11:20 pm    Post subject: Reply with quote

python is like basic a script based language alltho a bit more powerfull. you still need the python runtime installed to actually run stuff compiled with it.

as for usability for games hmm probably possible not sure about speed.

has lots of usefull tools tho Wink
Back to top
View user's profile Send private message
Spirit



Joined: 20 Nov 2004
Posts: 476

PostPosted: Mon Jul 20, 2009 8:23 am    Post subject: Reply with quote

Python is very powerful and you can make games with it just fine.
_________________
Quake Maps
Back to top
View user's profile Send private message Visit poster's website
MeTcHsteekle



Joined: 15 May 2008
Posts: 397
Location: its a secret

PostPosted: Mon Jul 20, 2009 1:13 pm    Post subject: Reply with quote

i believe QuArK is written in python ...maybe


...
_________________
bah
Back to top
View user's profile Send private message AIM Address
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Mon Jul 20, 2009 3:47 pm    Post subject: Reply with quote

MeTcHsteekle wrote:
i believe QuArK is written in python ...maybe

Python and Delphi. It's a big broken mess.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> General Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group