Posts: 2,765
Threads: 138
Joined: Nov 2002
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?
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 1,166
Threads: 62
Joined: Apr 2003
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.
am an asshole. Get used to it.
Posts: 2,765
Threads: 138
Joined: Nov 2002
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
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 1,166
Threads: 62
Joined: Apr 2003
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.
am an asshole. Get used to it.
Posts: 594
Threads: 11
Joined: Oct 2002
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.
B 4 EVER
Posts: 6,419
Threads: 74
Joined: Mar 2002
Don't fear the command line. QB should be started from the command line and in full screen. It is a DOS program.
Posts: 1,845
Threads: 44
Joined: Aug 2002
When running in a window, you'll suffer from severe speed problems. At least I do :S