Qbasicnews.com

Full Version: CALL function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so ehres the problem, any program i try to use that has the CALL or CALL ABASOLUTE doesnt run, it givs me the following error

Code:
subprogam not defined

so wats goin wrong and how do i fix it
You have to use QB 1, or run using a library I think(can't remember which one).
Its been a while to use qb for me, but I remeber always running QB through a batch file so create a new batch file and edit with this line:
Code:
qb /l /ah /h
then run it, that may solve the problem.
if you are using QBasic I.IO you must not have any problem using Call Absolute because the routine Absolute it's built-in in the interpreter.
if you are using QB or PDS (QB7.I) then when you run the editor you need to use the option /L to load the default library because in those two quickbasics the routine Absolute it's in the library.
you can run your quickbasic this way
QB program.bas /L
or for the PDS
QBX program.bas /L
i dont know how to create a batch file...
Quote:i dont know how to create a batch file...
Batch files are simply text files with a .bat extension that contain commands your command interpreter can execute. You can use notepad.exe, edit.com or any other text editor. Look on Google for a list of batch commands.
Quote:
axipher Wrote:i dont know how to create a batch file...
Batch files are simply text files with a .bat extension that contain commands your command interpreter can execute. You can use notepad.exe, edit.com or any other text editor. Look on Google for a list of batch commands.
thank you for help on makin a batch file and thank you SSC for the command to put in it