Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Limitations? what limitations?
#1
In QB there arent limitations are there?

memery- get the EMS lib

Size - just make the main exe open up seperate bas files
anything else?
LA BLA BLA
Reply
#2
There is an important limitation: All your executable code must be in conventional memory, which lets you very little mem to play with (I haven't seen QB EXEs bigger than 280Kb). In a 32 bits environment you can have as many code as you like (up to 4 gigs).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
Of course not. Who would ever think it has limitations? Everything else on the planet has limitations, but not QB. Oh no. It, of all things, is limitless.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#4
Hmm... the ant does not believe in the tree because he cannot see it.

Ever heard of pointers? Dynamic memory? Protected mode? Complex data structures? Classes? Objects?
Reply
#5
most of those arent necessarily limitations, but things like setting interrupt vectors, and accessing protected memory or relying on bios and not dos, or performing 32-bit operations are.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#6
Quote:most of those arent necessarily limitations, but things like setting interrupt vectors, and accessing protected memory or relying on bios and not dos, or performing 32-bit operations are.

Um, I consider not having proper data structures or pointers a severe limitation.

Also, no inline ASM -- although that's more of a compiler/IDE thing.
Reply
#7
no macro support!
I want my code to run through a macro executable before I run QB. That way, we can have our "CONTINUE" functions!!

EDIT: And that way, wizardlife, you can add in your pointer support too. (By using pointer arrays)
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#8
well, you underestimate qb (but not by much). What you define as complex data structures? in 4.5 on you can use type structures within type structures, and in 7.1 you can include arrays within them. But pointers arent necessary, they're just helpful. I'm not sure what you meant by dynamic memory, but with '$dynamic you can reallocate and switch around memory. and again, the classes and object things are suited for an object-oriented language like c++, but it isnt necessary for a capable language. (hence, why c is still a popular language). some people consider object oriented programming a drawback.

qb's biggest limitation: "ITS AN OLD SLOW M'FN REAL MODE COMPILER"

not to say i dont still love programming on it Smile
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#9
when I think of C++/Java, I think:

would I rather program in C++/Java using a black and white emacs with font 5 resolution and indecipherable key controls on a UNIX//K-something system that is barely alive because 90% of its power is being used from outside, using a sticky brown keyboard in a stale university computer lab, that has no graphics? And then compile by using a bunch of ~, #, @, %, /, -, _, etc. with changing instructions on how to use the so-called compiler every day, and trying to figure out typos in the command-line instructinos?

or

Use the brilliantly-conceived DOS keyboard where I can do a lot of things very quickly and I understand everything and where everything is in big honkin' white ASCII characters surrounded by a sexy blue background? And with UGL and Win98, it's gr348T!

(okok so I have Dev C++, but I prefer QB. I don't feel like ranting ATM, though...)

Blah. MACROS.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#10
Hm, you know, it would be interesting if someone rewrote the QB compiler, with all the stuff that's currently in libraries built in..

maybe even an ASM thingie, so you could write ASM directly, such as...

Code:
ASM
mov ax, 1
int 33
END ASM
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)