| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Code FAQ [15/15 |
'>>> Page 15 of Code FAQ begins here. answer is "neither," then you can't do it very easily. But as to the libraries, here's what Dave Shea has to say: [quote] Two [methods of forming TSRs] I have been informed of are TSRV21.ZIP and PDQ. TSRV21.ZIP can be picked up from: http://www.cdrom.com/pub/simtelnet/msdos/qbasic Apparently, this program works, but not very well. You can't deactivate the TSR once loaded, it takes up a lot of memory, you can't call it from the command line, and you can't run a compiled QB program when the TSR is loaded. And they can't be unloaded. A better option might be PDQ by Crescent Software. Unfortunately, the Crescent Division has shifted strictly to Visual Basic. However, Ethan Winer has started up a new Software company to continue support of his DOS based libraries, etc. It's unclear exactly WHO holds the rights to PDQ, so here's information on both companies. FULL MOON SOFTWARE 34 Cedar Vale Drive New Milford Tel 860-350-8188 CT 06776 Fax 860-350-6130 CRESCENT, division of Progress Software Corporation 11 Bailey Avenue Ridgefield Tel 203-438-5300 CT 06877 Fax 203-431-4626 Compuserve 70662,2605 The latest version of PDQ is 3.12, and you should expect to pay somewhere in the range of $150 for it. [end quote] Another option is a program called TSRBasic. Harry Hickey says that it's just an interpreter, not a true compiler. In other words, your programs will just run in the environment of TSRBasic. Matt Roberts adds, though, that it *will* create executable programs, although "the whole blessed interpreter" will be included with your source code. In other words, a very simple program will be a relatively large executable program. Matt also says that TSRBasic is very slow with graphics, and that, to his knowledge, the author is not available to be contacted. If you're interested, Mike Meyer says that you can find it by searching the Web at http://www.shareware.com for TSRBasic. 14) HOW CAN I MAKE QB EXIT WITH AN ERROR LEVEL? A FAQ by Mike Audleman says the following (modified for format): [quote] Add the following declare statement at the beginning of your program: DECLARE SUB ExitWithErrorLvl ALIAS "_exit" (BYVAL ERRORLEVEL%) Then to exit with an error level contained in a variable: ExitWithErrorLvl Oops% [end quote] Using this method from within the Quick Basic environment will cause QB to exit to DOS *immediately* -- you'll lose your code if you haven't saved it to disk. Pat Pridgen says that if you're using PDS, you can just enter this statement (n% is the error level to exit with): END n% '>>> Page 15 of Code FAQ ends here. Last page. * Brought to you by Greg's Little QBasic Auto-Poster * --- Maximus 3.01* Origin: The BandMaster, Vancouver, B.C., Canada (1:153/7715) SEEN-BY: 633/267 270 @PATH: 153/7715 140/1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.