--------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5500004 Date: 05/04/95 From: CHRIS ADAMS Time: 06:31am \/To: LOU SANDERS (Read 5 times) Subj: [ECHO PROJECT] Verb Proposal 06:31:2905/04/95 On (22 Apr 95) Lou Sanders wrote to All... LS> [ECHO PROJECT] VERB PROPOSAL LS> Chris Adams: LS> Chris, I don't want to step on your toes or take this project, off in LS> another direction, so if you feel I am, say so. I've said it before and LS> I'll say it again, I'm easy going and you won't hurt my feelings. Be my guest. I've been a bit busy lately (For instance, I've been gone for almost a week, first on a club trip (BTW, state champion! But it's another story) and then a vacation, so I gladly welcome the efforts of anyone who tries to help out. Also, so far from what I've seen, you and I have been thinking very similarly on this, so don't worry about conflicts too much. LS> Since we decided on a "FrontEnd", "BBS" and "Tosser", I feel the FrontEnd LS> Mailer would be first thing we should start. If anyone feels otherwise LS> then, by all means say so. I'll go on record as agreeing with this one! LS> I have included a list of VERBS below to give us some idea of what we might LS> want to support as far as the FrontEnd Mailer. As you can see the FrontEnd LS> Mailer is not going to be a small task in it's self. The information below LS> was obtained via BinkleyTerm. I believe it's now public domain but not 100% LS> sure. Anyway I'm giving credit where credit it's due. In some of the It is, AFAIK. LS> description lines the word "ProjectMailer" has been inserted since we don't LS> have a name for our FrontEnd yet. PowerMAILER? (Cheapie knockoff) Your verb list looked pretty good. The only problem I have, and it's not entirely related, is that it would be nice to decide how we can manage this. If it was just me, I'd use the INI routines from PB/VISION, but others may not have them. Any suggestions? ... No one expects the Spammish Repetition! Spam! Spam! Spam! --- PPoint 1.88 * Origin: The Point of Obfuscation! (1:212/2001.5) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5B00000 Date: 05/03/95 From: GARY MAJOR Time: 03:07pm \/To: ORIOL GARCIA (Read 4 times) Subj: FAR calling need help... > ' > [GetDriverAddrXms] > ' Retorna en la variable shared _pointer_ l'adrea > del driver Xms. > ' Noms s'ha de cridar una vegada!!! > sub GetDriverAddrXms public > dim SegTemp as word,_ > OffTemp as word,_ > SegmDriver as word,_ > OffsDriver as word,_ > XmsDriver(1) as word > ! mov ax, &h4310 > ! int &h2f > ! mov SegmDriver, es > ! mov OffsDriver, bx > XmsDriver(1)= SegmDriver > 'Hi word > XmsDriver(0)= OffsDriver > 'Low word > SegTemp= varseg(XmsDriver(0)) This is great to know, but can someone post this without the ASM. I myself am having problems with the REG command as well as using the registers, any help would be appreciated. Gary --- FMail/386 0.98a * Origin: The Adult Information Network (1:224/35) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5B00001 Date: 05/04/95 From: AL PACHECO Time: 12:13pm \/To: ROWAN CROWE (Read 4 times) Subj: PC's Date...what goes on? Thanks Rowan, that explains what's going on. My testing of this has now ended and it will be logged as a major DOS bug in my department, which is test instrumentation. Most of our equipment is left on 24 hours a day, 7 days a week. We will either write a TSR to request the date every so often or insert dummy requests in the programs....ugh! When data is saved (and what is a computer system supposed to do EXCEPT save data) then the date must be correct, especially in manufacturing. By the way, Microsoft's technical assistance crew didn't have a clue about this. I really appreciate your help. --- Maximus 2.02 * Origin: The Crescent Software Support BBS II (1:141/1080) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5B00002 Date: 05/04/95 From: LOU SANDERS Time: 11:25pm \/To: ALL (Read 4 times) Subj: [ECHO PROJECT] Verb Proposal 04 May 95 06:31, Chris Adams wrote to Lou Sanders: LS>> [ECHO PROJECT] VERB PROPOSAL Hello Chris! Hello ALL! LS>> Since we decided on a "FrontEnd", "BBS" and "Tosser", I feel the LS>> FrontEnd Mailer would be first thing we should start. If anyone LS>> feels otherwise then, by all means say so. CA> I'll go on record as agreeing with this one! Then, may I suggest we get started... :) CA> PowerMAILER? (Cheapie knockoff) Okay, sounds good to me... CA> Your verb list looked pretty good. The only problem I have, and it's CA> not entirely related, I not sure what you mean by "not related", it looks related to me. :) Why do you say this??? CA> is that it would be nice to decide how we can manage this. CA> If it was just me, I'd use the INI routines from CA> PB/VISION, but others may not have them. Any suggestions? I not knocking this library, it's probably a great library, but I'm not familiar with it. The problem I see with this type of library is, we don't have the source code, one, AND like you said above, not everyone will have this library. I think all the functions, subs and other routines, we intend to use should be written by us, "THE PROJECT." Remember this project is also a teaching aid and I'm sure we all want to see, from the bottom up, how it all fits. There's no better way to learn, then seeing code and how it's used. I hope this helps explain a litte more about the verb list... The not related part, I didn't get... maybe not all the verbs are related but most of them should be. Anyway it was a start... 1. The setting up of the INI file can be done with any old text editor,no special tools will be needed. It can be read and altered with Qedit or whatever editor one might want to use. This means we don't have to build a configuration frontend to build a config file. "NOT AT THIS POINT!" 2. Reading the INI file would be done in two steps. If the verb is singular, meaning it can only appear once in the INI file, then the arugment following the verb is read on the first pass. If the verb CAN appear more then once in the INI file, an array could be used and the COUNT would be obtained on the first pass and the argument read in to the arrray on the second pass. The reason for having two passes is, it would allow the verb to be placed by the user on any line in the INI file, it adds a little flex and we don't end up having to say, "A" before "B" and "B" before "C", ect... For Example: The verb "Baud_Rate" would only be used once in the INI file and the argument would be read on the first pass. On the other hand, the verb "Also_Known_As", may appear more then once. So we count the number of "AKA" verbs, dimension our array and on the second pass we read in the argument and Incr it's count... I should note: on the second pass, we would only be looking for verbs, we know can appear more then once. Example below... STEP #1........ OPEN "PowerM.INI" for input as #1 do Line Input #1,LN$ if UCASE$(LEFT$(LN$,9)) = "BAUD_RATE" then BaudRate$ = LTRIM$(RTRIM$(MID$(LN$,10))) end if if UCASE$(LEFT$(LN$,13)) = "ALSO_KNOWN_AS" then INCR AKAcount% end if Loop until Eof(1) = %True Close #1 Step #2......... Dim AKA$(1 TO AKAcount%) 'We have the count from step #1 AKAcount% = 0 'Lets start over with our count OPEN "PowerM.INI" for input as #1 do Line Input #1, LN$ if UCASE$(LEFT$(LN$,13)) = "ALSO_KNOWN_AS" then INCR AKAcount% AKA$(AKAcount%) = LTRIM$(RTRIM$(MID$(LN$,14))) end if Loop Until Eof(1) = %True Close #1 ==== End of sample === Now, VERBS that have more then one argument on the same line will require a parsing routine. Multiple arguments should be separated by a single space, this keeps the parsing routine simple. The "%" sign would be a comment or a remark and would be ignored. TTYL: Lou Sanders --- GoldED/2 2.50.Beta5+ * Origin: The Basic OutPost System (1:143/333) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5D00000 Date: 05/06/95 From: BRIAN MCLAUGHLIN Time: 11:51pm \/To: ALL (Read 4 times) Subj: RANDOM WORD PROGRAM I just rediscovered this simple, amusing program in my archives. At one time, I copied it out of a book "Using QuickBASIC", by Inman and Albrecht. I have made some minor updates, but it is largely the original stuff. I don't think the authors would mind. Their book has been out of print for many years now. '-------------------------- START CODE ---------------------------- ' MAKEWORD.BAS - a random word generator program $LIB ALL OFF DECLARE FUNCTION MakeWord$ (Template$) RANDOMIZE TIMER COLOR 7, 1 CLS PRINT " This program invents random words. You tell it what kind to make" PRINT " by giving it a mask that tells it the 'layout' of the words you ant." PRINT " In the mask, a 'C' stands for a consonant, a 'V' for a vowel. PRINT " A word like 'SING' would have a mask of CVCC, while 'ACE' is VCV." DO PRINT LINE INPUT " Type a template of C's and V's (e.g. CVCC): "; Template$ IF LEN(Template$) = 0 THEN EXIT LOOP Template$ = UCASE$(Template$) PRINT LINE INPUT " How many words do you want created (0 to quit): "; NumWords$ Number% = VAL(NumWords$) IF Number% = 0 THEN EXIT LOOP PRINT FOR Rep% = 1 TO Number% PRINT MakeWord$(Template$), NEXT Rep% PRINT LOOP END '======================================= FUNCTION MakeWord$ (Template$) '======================================= FOR X% = 1 TO LEN(Template$) ConsOrVow$ = MID$(Template$, X%, 1) IF ConsOrVow$ = "C" THEN RandomCons% = INT(21 * RND(1)) + 1 Consonant$ = MID$("bcdfghjklmnpqrstvwxyz", RandomCons%, 1) Word$ = Word$ + Consonant$ ELSEIF ConsOrVow$ = "V" THEN RandomVow% = INT(6 * RND(1)) + 1 Vowel$ = MID$("aeiouy", RandomVow%, 1) Word$ = Word$ + Vowel$ END IF NEXT X% MakeWord$ = Word$ END FUNCTION '----------------------------- END CODE ---------------------------- * SLMR 2.1a * MAXLIB For PB v1.1 - Access arrays and files in EMS/XMS! --- WILDMAIL!/WC v4.12 * Origin: Com-Dat BBS - Hillsboro, OR. HST DS (1:105/314.0) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5D00001 Date: 05/06/95 From: BOB SEWELL Time: 10:08pm \/To: ALL (Read 4 times) Subj: OPEN COM: Question If a PowerBASIC-compiled program opens a com port with CS0 and/or DS0 parameters, will the program automatically handle software handshaking (XON/XOFF) or will I have to deal with that myself in the code design? For that matter, if opened with CSn and/or DSn set, will it automatically use hardware handshaking? Er, if this info is in one of the manuals (from version 3.0) then just give me the page number(s), and I'll go away red-faced. (grin) ... Zencrafters: Total enlightenment in about an hour. --- PPoint 1.86 * Origin: Seven Wells On-Line * Nashville, TN (1:116/3000.12) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5D00002 Date: 05/06/95 From: BOB SEWELL Time: 10:16pm \/To: ALL (Read 4 times) Subj: Registration Codes A long time ago, some QB programmer posted on the QB echo his amazement at the run-time results of the statement PRINT 1 = 1. Someone replied that this interesting phenomena was one method used to keep hacker/pirates from finding critical IF statements in your program which determine whether it operates in registered or unregistered modes (if your program uses a code-key method). Once these IF statements are found, the hacker/pirate can then use debug or such to place NOPs at strategic locations in your program to cause it to always run in registered mode. For the life of me, I can't see how to take advantage of this. In other words, I can't see how this can help avoid IF statements. Can someone explain to me how it's done? ... Zen Buddhist Pizza: "Make me one with everything!" --- PPoint 1.86 * Origin: Seven Wells On-Line * Nashville, TN (1:116/3000.12) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: C5E00000 Date: 04/29/95 From: CONRAD JUSTUS KHLER Time: 02:13am \/To: EDUARD FRANKES (Read 4 times) Subj: Keiner schreibt was? Hello Eduard! > Well to be exact, this is the International PowerBASIC Echo, > connected to several nets, including Fido USA. > In SHN net this echo was started as an ENGLISH only echo, and > is connected now to the international echo. > It is gated by my system thrue to the US, with some help from > Ron Witkamp to be honest, but still gated at my system to > several European nets. So THAT'S why...grin...I only wrote around in German because NOTHING has been in this echo...and in some people talked in German so I assumed...you imagine :-} > So welcome to the club. > Hope to see some pritty neat stuff from germany! Thank you thank you...I hope so, too ;-} (And that my mother doesn't strangle me for the next phone bill...smile) Bye, CJK --- # Origin: Historical home of SkullSoft Group ;) (8:4910/102) # Origin: SHN-Net MailGate to -> United Bbs Systems (119:119/8.0) * Origin: United Bbs Systems Europe MailGate to -> Fido USA (2:283/529.0)