What do I need to do if I get an error in QBasic saying

call absolute

and it doesn't work - or something like that. I don't have absolute to call?!? This is when I have been looking at other peoples code and then trying to run them. Help!
Thanks,
TP :o

Recommended Answers

All 2 Replies

what was the code that caused the error? post it and we will try and help!

If you are using QB (QuickBasic), so often wrongly called Qbasic, then
Call Absolute (as well as Call Interrupt) are in the QB library QB.QLB

In that case, start QB with QB /L libraryname
(no library name is required for QB.QLB as it is the default)

If you are, in fact, using QBasic then Call absolute is there for you if you
use it correctly. The Assembly code needs to be in memory (stored in an
array is the easiest way) then use the array as the parameter for call absolute.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.