To JonathanS:
Here are 3 tutorials that TheBOB wrote. At least one of them is a graphics tutorial that I have heard good things about.
http://www.network54.com/Realm/QBZips/TheBobTutor.zip
http://www.network54.com/Realm/QBZips/Qbg1.zip
http://www.network54.com/Realm/QBZips/Qbg2.zip
Btw, TheBOB is a highly skilled graphics programmer at The QBASIC Forum.
http://www.network54.com/Forum/13959
The moral of thi story? Goto goes a linenr/label and doesn't return. Gosub goes to a linenr/label and has to return.
Yes, and <b>DO NOT</b> forget to RETURN! So long as GOSUB ... RETURN is used properly, it is a nice and useful tool that I am fond of.
GOTO is similar to jmp and GOSUB is similar to jsr.
GOTO is similar to JMP or JMP NEAR. GOSUB is similar to CALL. RETURN is similar to RET. I don't know if QBASIC subroutines are near or far, but my guess would be near. routines called with CALL ABSOLUTE are alway far.
Zamaster wrote:
FreeBASIC is evil and cheap cause' you have to work harder to use QB. This makes QB more of a joy to program instead of sleezing your way out and taking the easy road
Take your "eye r so l33t c0z eye am teh 0LDSK00L!!!!!!!!!!!1111111" crap elsewhere, eh?
QB is a pain in the ass to program in, it's not fun...if it were fun, more people would still be using it instead of FB. FB is fun to program in because it allows you to truly express your creative talents in a restriction-less environment...whereas in QB, you're always fighting with one hurdle or another...low memory, zero compatibility, or the IDE eating your sourcecode which you just spent 20 hours writing...
:-O :-( This is shocking and disappointing... especially on a QBASIC forum. :-(
"restriction-less environment" What about null-terminated strings? QBASIC's pascal strings and fixed legnth strings are no doubt easier.
"zero compatibility" Only if you are using the WRONG operating system... Win NT/2000/XP = Wrong. DOS/Win 3.1x/9x = Right.
"IDE eating your sourcecode which you just spent 20 hours writing..." Save your files often... Make backups at major points. Don't do anything crazy.
This is a QBASIC forum. We are 16 bit MS-DOS programmers and we like it. 1337? `/34|-|, \/\/3 4r3, 4|\|d pr0|_|d 0f i7!
"QB is a pain in the ass to program in, it's not fun...if it were fun, more people would still be using it instead of FB." QBASIC is fun, it is very easy. It is the easiest language I have ever used. I can write quick code fast in it, without worry. I would guess that the QBASIC programmers in the world still outnumber the FB ones.
MS-DOS is just so wonderfully elegant. :-D. It is wonderful!
You're the same kind of typical elitist scumbag that I spoke out about during the QBRPG craze of the mid to late 90s.
\/\/3 4r3 t|-|3 1337. Long may MS-DOS rule!
smallest
You want small? Write it in pure x86 assembly...
QB rules....
Yes, it absolutely does! :-D Long live QBASIC! FreeBASIC may have its place, and I may force myself to use it one day, but my love will be for QBASIC, and 16 bit MS-DOS. :-)
Regards,
Michael
Bring on the Maulotaurs! oops...
I like to slay Disciples of D'Sparil...