BBS: Inland Empire Archive Date: 04-18-92 (09:14) Number: 129 From: ROB SMETANA @ 914/201 Refer#: NONE To: JIM MURPHY Recvd: NO Subj: Re: Pds Conf: (2) Quik_Bas
> I've just received my PDS package and have been playing with > it...can't seem to get it to load up with a LIB called QB4BAS. Sad, > 'cause I use that LIB alot. Anybody got any suggestions? I get a > "ERROR IN LOADING FILE - INVALID > FORMAT" error. I've tried extracting the library files I use and > re-LIBing and re-QLBing them, but that hasn't worked (yet). If you > can figure it out, please let me know! > You're loading a QB 4.5 QLB in PDS 7.x, right? Very often it CAN'T be done! QB 4.5 uses Near addresses for string variables (in BOTH the envi- ronment and when you compile). QBX, on the other hand uses FAR addresses for strings (read the manual on FAR STRINGS) -- exclusively in the QBX environment, and per the option you choose when you compile. In short, QBX can't handle QB 4.5 QLB files -- IF that QLB has any string stuff (plus a few other gotchas). A QLB with purely numeric stuff *might* work. If the QLB is made up of BAS modules, AND you have the source, you MUST compile 'em using BC (7.x) using the /FS (Far String) option. If the QLB has ASM (or C or ??) modules, AND you have the source, you must modify the STRING handling modules, then re-assemble/re-compile 'em. A writer-friend once claimed creativity and inspiration came from pain. Think of QB upgrades as rare, but welcomed opportunities to excell. --- RBBSMail 17.3A # Origin: PCUG BBS - San Francisco HST/V.32 415-621-2609 (RBBS 8:914/201.0) * Origin: Gateway System to/from RBBS-NET (RBBS-PC 1:10/8)
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