Article View: alt.lang.basic
Article #82Re: Link problems with QuickBASIC 4.5
From: Tom Boutell
Date: Fri, 24 Jul 1992 15:42
Date: Fri, 24 Jul 1992 15:42
34 lines
1929 bytes
1929 bytes
In article <1992Jul23.194513.14047@Princeton.EDU> bstango@phoenix.Princeton.EDU (Bob T. Stango) writes: > >OK PROGRAMMERS. Here is my situation. Using QuickBASIC 4.5. I have one >main program and three sub programs. I'm a bit uncertain about what you mean here. Do you mean one main program and three actual SUBs, or one program and three separate *modules* with their own global variables and multiple SUBs, FUNCTIONs, et cetera? I want to link the three sub >programs to the main program and then compile them into one large .exe >file. Using lib to make a library with the three object files seems to >work ok. After linking the .lib file with the main program and creating >an .exe file, it then chokes trying to do one of the sub functions. I >think all variables are defined properly. Am I going about this wrong? >Any help apreciated. Well, if all you want is to be able to use SUBs, they can go in the same file with your main program. But I would assume you know this. You can build your program in the environment, probably. Is there a reason why you're doing this from the command line? Give me more information on what exactly you're doing, and I can probably help you out of the woods. Either of the things I think you might have meant (grin) are doable, but I need to know which and to have some idea what sort of syntax you're using so far. -- My return address now works! Believe it or not there is life after college. At least if you live near NYC.
Technical Details
Message-ID:
<1992Jul24.154206.6583@cshl.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!phage!boutellReferences:
<1992Jul23.194513.14047@Princeton.EDU>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!phage!boutell From: boutell@cshl.org (Tom Boutell) Subject: Re: Link problems with QuickBASIC 4.5 Message-ID: <1992Jul24.154206.6583@cshl.org> Sender: news@cshl.org (NO MAIL) Organization: Cold Spring Harbor Laboratory References: <1992Jul23.194513.14047@Princeton.EDU> Date: Fri, 24 Jul 92 15:42:06 GMT Lines: 35