--------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00007 Date: 12/12/97 From: STEPHAN VAN LOENDERSLOOT Time: 07:23pm \/To: CHRIS GUNN (Read 4 times) Subj: Quick Library CG> Howdy Stephan, Chris, CG> I use a whole collection of different QuickLibrary's. Some of my programs CG> use PROISAM, some need modeming support, others just user interface CG> routines. Each has a batch file like QB_GAME.BAT, QBX_LINK.BAT, and CG> QBX_HOST.BAT so it's fairly easy to remember what I want to work on. Some CG> start QB4.5, most start QB7.1 PDS. CG> The batch files are rigged to change to the appropriate directory for he CG> program and do any preliminary config or environment things. On exit from CG> QB, the batch file deletes any left behind *.OBJ files and other clean p CG> details. CG> I build some good sized programs so the library has to stay pretty tight CG> to conserve memory for the IDE. CG> Chris CG> -+- FMail 0.96 CG> + Origin: BIZynet - Worldwide Business via the E-Ways (1:15/55.1) --Stephan --- FMail/2 1.02 * Origin: (2:282/514.7) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00008 Date: 12/13/97 From: STEPHAN VAN LOENDERSLOOT Time: 07:52pm \/To: CHRIS GUNN (Read 4 times) Subj: Quick Library Chris, CG> The batch files are rigged to change to the appropriate directory for he CG> program and do any preliminary config or environment things. On exit from CG> QB, the batch file deletes any left behind *.OBJ files and other clean p CG> details. I'm not really the type of person that uses batch files to keep things running, but it might be convienent in some cases, though. CG> I build some good sized programs so the library has to stay pretty tight CG> to conserve memory for the IDE. Well, a few command-line parameters you can use to free up memory are available. Taken from on-line help (PDS7.1): /Ea allows arrays to be moved into expanded memory /Nof Causes QBX to use about 19K less memory. --Stephan --- FMail/2 1.02 * Origin: (2:282/514.7) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00009 Date: 12/15/97 From: ROGER SCUDDER Time: 03:55am \/To: PAT PRIDGEN (Read 4 times) Subj: date getting Hello Pat, On Nov 26, 1997 Pat Pridgen of 1:236/7 writes: PP> DATE$ is already used by QB. If you want to save it as a variable, then PP> you can just do something like; PP> d$ = DATE$ PP> OR...some somewhat inelegant code using interrupts. PP> SELECT CASE Mth% PP> CASE 1 PP> Month$ = "Jan" PP> CASE 2 PP> Month$ = "Feb" 'You can make this code a lot more elegant by creating a table... MONTHTAB$ = "JanFebMarAprMayJunJulAugSepOctNovDec" MONTH$ = MID$( MONTHTAB$, Mth% * 3 - 2, 3 ) Sure cuts down on code size doesn't it? Same thing for DOW sept you'll have to pad then trim. I'll leave that one as an exercise for the reader... :-) Regards, Roger Scudder Send private replies to: rscudder@usa.net ... An Elephant. A mouse built to government specs --- Msgedsq 3.05 * Origin: Hodge-Podge Support BBS, Upper Darby, PA (1:273/404) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00010 Date: 12/15/97 From: JACK HUDGIONS Time: 12:15am \/To: STEVE PALM (Read 4 times) Subj: PDS SP| PDS wouldn't happen to stand for Public Domain Software, would it? Heh! Actually, it's the (BASIC) Professional Development System. SP| Is there an upgrade to PDS 7.x? Hopefully cheaper than a full PDS, off | the shelf. There was a $99 upgrade from QB to PDS at one time, but that has long since expired. I'm afraid you'll either have to buy it retail, or find someone who wants to sell their copy. You'll occasionally see a post here from someone who wants to sell PDS. --- * OLXWin 1.00b * Internet: jhudgions@sprynet.com --- QScan/PCB v1.17b / 01-0035 * Origin: Agora Online -- Bayonne, NJ 201-437-4355 v.34 (1:2630/312) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00011 Date: 12/14/97 From: DAVID STUMPF Time: 05:07am \/To: BRUCE CORBETT (Read 4 times) Subj: Some Sorting Troubles. . . - Quoting Bruce Corbett - to David Stumpf BC> Hi David Stumpf, hope you are having a nice day Just curious why a normal check box in VB3 has a value of either 1 or 0 and the 3D check boxes use -1 and 0 (or true and false) depending on wether they are checked or not. . . ;) BC> QUOTE- O.k. i'm making a wild guess here that that the comments start BC> with a % in the line. Nope, could start with any normal character. BC> 'That there should sort them for ya... I will play with it and see what I come up with, thanks much. . . BC> Also note... as well as defining a seprate string for the length just BC> read it in as the first char of the string it refers to and then use BC> MID$(SomeString$,2,ASC(SomeString$)) to work the string out... Bad practice. I know I *can* do that, I just hardly ever do. So I end up wasting more memory than I should. :{ I need to do that though. BC> Sorry I can't help you with the Working out what the comments are BC> above but you at least have some idea of what to do.... Copy the sort BC> part down it comes in handy for sorting stuff and only takes up 5 lines I will work with it and see what I come up with. Thanks a bunch! [David.Stumpf@Earthling.net] [http://www.dzs.home.ml.org] [*] AutoSig v1.20 ... "She kept saying I didn't listen to her, or something." --- Blue Wave/DOS v2.30 * Origin: The World WIthin * 281-324-2745 (1:106/4725) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGJ00012 Date: 12/14/97 From: DAVID STUMPF Time: 05:24am \/To: BUCKY CARR (Read 4 times) Subj: Mouse Help! - Quoting Bucky Carr - to Bob Lotspeich BL> values are given in a unit of distance called a 'mickey', which is BL> approximately 1/200 inch." BC> Curious. I haven't fiddled with the mouse, per se, under VB so I am BC> not sure what measurement units they use over there. Depends on the object. Could be any of these; Twips (most common) Point Pixel Character Inch Millimeter Centimeter Depends on the object really. And these are for VB3, I'm pretty sure things haven't changed much in 4 or 5. For future reference; (from the VB help file) twip A unit of screen measurement equal to 1/20 of a printers point. There are approximately 1440 twips to a logical inch or 567 twips to a logical centimeter the length of a screen item measuring one inch or one centimeter when printed. A twip is a screen-independent unit used to ensure that placement and proportion of screen elements in your screen application are the same on all display systems. Contrast with pixel, a screen-dependent unit of measurement. [David.Stumpf@Earthling.net] [http://www.dzs.home.ml.org] [*] AutoSig v1.20 ... "Why Johnny Can't Read" - Now available on VHS --- Blue Wave/DOS v2.30 * Origin: The World WIthin * 281-324-2745 (1:106/4725) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGK00000 Date: 12/15/97 From: ARMANDO SILVA Time: 09:04pm \/To: SCOTT MCNAY (Read 4 times) Subj: Zips, RARs, ARCs >AS> Hi Chris, does it mean that they have a .LIB for QB to ZIP >AS> files ??? > >There are OBJ files available for viewing various archive types. For >archiving and extracting, most people just shell to an archiver. > > >--Scott. > >--- timEd 1.01 > * Origin: Wizard's, 254-554-2146, Abacus PLUS, 903-3097 (1:395/11) Hi Scott, I got a source code for viewing ARC, ZIP's ,etc. but I was woundering if there is such a LIB for ZIP. * QWKPro 1.00g * Do still life on your computer -- run WINDOWS. --- QuickToss v0.99b * Origin: Home of QuickToss (1:387/601.3) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGK00001 Date: 12/14/97 From: BILL WHITE Time: 05:15pm \/To: BERT VAN DAM (Read 4 times) Subj: Doc's in QB4.5 BVD> Apart from executable code QB4.5 also allows the loading of BVD> documents. It can be done this way: BVD> Select File menu: ALT-File BVD> Load : Load BVD> Set the 'dot' at: Load as Document BVD> Now you can read the document and copy parts of it into you program BVD> (switch with F2 between document and your source code). Very BVD> convenient if you have instructions to do something but BVD> don't want to learn them by heart before starting QB. BVD> What I would like to do is _automatically_ load this doc BVD> whenever I load the accompanying program. But... I don't BVD> know how.. :( This day isn't wasted (see Tagline.) I didn't know that. But now that I do, I don't see the problem. (NOTE to anyone else: this is not available in QBASIC, is in QB45 and PDS.) I just loaded a .BAS program into QB45. I then loaded an associated document file AS DOCUMENT as you said. I then saved the whole thing. The .DOC is listed in the .MAK file and reloads with the program. This is briefly mentioned in Appendix A of David Schneider's "Handbook of QuickBASIC"; in the form of How To "Create a Program Module, Include File, or Document from the View Window". I can't find any mention of the use for same. Does it serve any purpose other than it's there for the human to look at and/or copy/paste into the program? I see that you can bring in a preexisting document or create it in the environment. I can see it as a way of creating "side bar" documentation without having to REMark every line, since no attempt is made to make the doc file executable, as QB would if you were just type it in as a SUB. (I had tried that!) Interesting. Anyway, it was saved, noted in the .MAK, and reloaded properly. FIDO: Bill White @ 1:135/110 (Miami) InterNet: bill.white@110.sunshine.com * SLMR 2.1a * A day you learn something new is a day that isn't wasted! --- Maximus 2.01wb * Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGK00002 Date: 12/14/97 From: DANIEL BOCKSHECKER Time: 09:35pm \/To: ALLE (Read 4 times) Subj: MIDI Hallo Leute, Does anyone know, how to play midi Files with Quick Basic 4.5 ? GRTNX from Germany mfg daniel E-Mail : daniel.bockshecker@dolphin.infox.com Fido : daniel bockshecker@2:2453/1010.60 --- CrossPoint v3.11 R * Origin: My *taglines* are original. *I* am a copy. (2:2453/1010.60) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: EGK00003 Date: 12/14/97 From: MATTHEW PULLEY Time: 11:40pm \/To: ALL (Read 4 times) Subj: The return of me! Hey Aaron! -=> Quoting Aaron Tucker to Matthew Pulley <=- MP> Talk to me and Aaron Tucker about joining the 3am! club. AT> Maybe you should print membership cards :) Hmm... 3am! Computer Club: We could have various assorted QB 3am! schwag... Want to start 3am! Inc.? :-) AT> Hey Matthew, of course I'm still here! (going on 3 years now in this Very glad to hear it! After Dave and Nick and Denis left, I thought the echo was dying. But, me and you will keep it alive, won't we?!?! AT> echo). Ya know, if you still have them, now would be a nice time to AT> repost Chopper! and some of the other stuff you've done in the past. You asked for it, you got it. Better version, too. This one might be marketable in some twisted, reverted-back-to-DOS-after-we-found-out-WIN95- sucked world. And if there was a demand for dorky two player battle games that aren't fun and just look good 'cause the graphics are halfway cool... Think I'm too hard on myself? :-) AT> I haven't posted a 3-AM program in over a month. The last one was AT> like the ancient pitfall, but two player-via-modem. Pretty silly AT> but my friends and I don't have anything better to do. :) But Yeah, I remember! :-) AT> I have a soundblaster piano in the works right now! Of course AT> I'm doing it at 1-4 in the morning so it sounds like a AT> dying chicken, but it looks nice :) Dying chickens sound pretty cool at 3am! :-) Keep it up, I'd love to hear what it sounds like... Last time I heard a dying chicken was at an Ozzy concert. :-) AT> ... Luxuriantly hand-crafted of only the finest ASCII. Only the best for me! Look for Chopper in the next few messages... Read the new README.NOW file, it's got some pretty cool new tricks in it. - M@ - no_more_e-mail@sorry.com - looks like it's just Mental Health if you want to get in touch... ... Moderator? Moderator?!? We don't need no stinking Moderator!!! (Just a tagline, Pat! :-) ) ___ Blue Wave/DOS v2.30 --- GAPNet Enhanced * Origin: Spells, Scrolls & Wards At The Roundtable (1:264/416.0)