Qbasicnews.com

Full Version: Call absolute
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was tryong to reboot my comp using
http://faq.qbasicnews.com/?blast=RebootPc
but i keeped getting subprogram not defined. on the CALL ABSOLUTE(0) line. help?
You need to include qb.bi

REM $INCLUDE: 'qb.bi'

and run qb with the command line options:
C:\qb45>qb filename.bas /L

notice the C:\qb45> is to show you I'm going in from the command prompt.
Quote:You need to include qb.bi

REM $INCLUDE: 'qb.bi'

and run qb with the command line options:
C:\qb45>qb filename.bas /L

notice the C:\qb45> is to show you I'm going in from the command prompt.
i understand the first part but not the second
Open up your command.com (or make a BAT file) and navigate to the directory you have QB in, then type
QB /L

so it loads the library that has absolute in it.
Just do a right click on your QB.EXE and then click on "Properties" (with left, of course).
Then you go to the tab "Program" where you'll find an input field called command line or so.
There you can see the path of your QB.EXE, like "C:\QB\QB.EXE".
The only thing you have to do is to add a " /L" behind the path.
Don't fear the command line. QB should be started from the command line and in full screen. It is a DOS program.
When running in a window, you'll suffer from severe speed problems. At least I do :S