Re: Problems with QuickBA

 BBS: Inland Empire Archive
Date: 05-12-92 (03:33)             Number: 197
From: CORNEL HUTH                  Refer#: NONE
  To: MIKE KERR                     Recvd: NO  
Subj: Re: Problems with QuickBA      Conf: (3) Dr_Debug

MK> I would like to create a stand-alone library (.LIB) from a MK> module that I have completed in QBASIC. That's QuickBASIC, or QB. QBASIC comes with DOS 5 and does not include the compiler. MK> ...to CALL INTERRUPT. MK> Whenever I run the program, sans QB.QLB, I get a MK> 'subroutine not defined" error or something. It's my MK> guess that if I somehow include the QB quick library into MK> my existing library, then my problems are solved. First, you can't include a QLB into a LIB. If what you want to do is create a QLB _from_ your LIB and the QB.LIB, then do: C>link /qu YOURLIB.LIB+QB.LIB,THIS.QLB,nul,BQLB45.LIB; (then do a C>QB /Lthis.qlb) If you want to link to a stand-alone EXE then: C>link main.obj+x.obj+y.obj,prgname.exe,nul,YOURLIB.LIB + QB.LIB; main.obj is the main module; other .OBJs follow if used. At the Libraries: prompt just add in the QB.LIB to whatever other libraries that you're using. Check the manual on how to use LINK.EXE. Check out the README files, too. Ask your sysop to get the QUIK_BAS echo and BASIC7 echo. He won't unless you ask him. chh --- EZPoint V2.2 * Origin: etc. (1:387/800.8)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET