--------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00009 Date: 06/16/96 From: MICHAEL RENZMANN Time: 02:24pm \/To: TIM HUTZLER (Read 4 times) Subj: Using the 3.2 editor Hi Tim! TH> I grabbed several pages off a German web site. I didn't find any help TH> on the IDE issue. In fact it appears that this feature common to QBs TH> editor doesn't exist. So, I programmed QEdit to work for me, and I TH> don't use the IDE at all. I don't have the context sensitive helps, TH> however. I have to look up the error in the manuals. Does anyone in here knows the format of the online-help-files, the ide uses? I plan to write some kind of PB-IDE in a few months (after I have finished a more important project) so it would be useful to know how to read the online-help... TH> Thanks cu, Mike. --- * Origin: The Basic Instincts BBS, +49-6032-72557 (2:2461/364) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00010 Date: 06/17/96 From: TIM HUTZLER Time: 07:38am \/To: LAWRENCE GORDON (Read 4 times) Subj: Re: Using the 3.2 editor MR> I plan to write some kind of enhanced IDE for PB but that project > will have to wait since I have not that much time I'd like to > have for programming... :-/ LG> I'd be interested in looking at it when you're ready to beta test > it. I use Qedit to run PBC, and it works quite nicely. If there are compile errors, my macro pulls up the file and points to it. It's not much good for run time errors, however; so I still need both. Also, I don't have any online, context sensitive helps. I'm working on that one. Does anyone have an ASCII reference file of the keywords? I already found an error list. --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00011 Date: 06/17/96 From: TIM HUTZLER Time: 07:44am \/To: ANTON MONROE (Read 4 times) Subj: Re: Passing a field AM>> SUB pout (x%, x$, t as string * 15) TH> That does not work. TH> I also tried (t as xs) as 'xs' is a user defined type. AM> It works here. UPDATE: I'm not sure what I did last time. But using "SUB pout (x%, x$, t as string * 15)" Did work this time. I note that the '15' *must* be the same value used in the TYPE declaration. Perhaps that is why it didn't work last time. I'm not sure anymore. Anyway, I think I just about have the conversion details figured out. ___ Blue Wave/QWK v2.12 --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88) --------------- ** A related thread FOLLOWS this message. FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAQA2333 Date: 06/21/96 From: KURT KUZBA Time: 06:38am \/To: TIM HUTZLER (Read 4 times) Subj: R: Re: Passing a field TH> saying that PowerBASIC has *no* provisions to accomodate TH> the passing of records for modification defined in a TH> TYPE??? What do I need do to to reference the element *and* TH> make modifications to it from within a SUB? QuickBASIC TH> doesn't have this problem, frankly I am suprised that TH> PowerBASIC can't deal with this. th>.............................................................. Try this once. Some optimizing compilers will not recognize a defined type until after it has been defined in preceding code. Also, in Power Basic, you do not automatically get your DECLARE statement added when you save data. The below code has been tested under PB31 and worked perfectly. ( following trial and error :) Please refrain from harsh judgements caused by frustration and impatience. All may be forgiven, but none are ever undone. '_|_|_| PASSTYPE.BAS '_|_|_| Code to illustrate passing of defined TYPE data. '_|_|_| No warrantees or guarantees are given or implied. '_|_|_| Released to PUBLIC DOMAIN by Kurt Kuzba. (6/21/96) type txtstruct length as integer t as string * 40 end type declare sub txtprint(t as txtstruct) dim text as txtstruct text.t = "hello": text.length = len(rtrim$(text.t)) txtprint text print text.length; text.t end sub txtprint(t as txtstruct) print t.length; t.t t.t = "goodbye": t.length = len(rtrim$(t.t)) end sub '_|_|_| end PASSTYPE.BAS --- > ] Let's try randomly accessing YOUR memory once............... --------------- >>>>>>>>>>>>>>>>>>>>>> LAST Message In Thread <<<<<<<<<<<<<<<<<<<<<< FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00012 Date: 06/16/96 From: DAVID ROPER Time: 10:17am \/To: STEVEN ANDERSON (Read 4 times) Subj: CRC 16BIT CODE? >> Has anyone got some code to get a 16Bit CRC for a string FAST? SA>> Thankyou >>Steven Check out the source code on the POWERBASIC WEB page. If you have trouble getting it, ask again, and if it's okay I'll post it here for you and others. Peace. _____oOOo_/00\_oOOo_____ david.roper@mms.raleigh.nc.us 1996 \__/ 201 WINDING BROOK Dr, GARNER NC 27529 --- FLAME v1.1 * Origin: Full Internet Access $15.00, (919) 779-6674 or MMS.NET (1:151/102) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00013 Date: 06/16/96 From: DAVID ROPER Time: 10:25am \/To: TOM PHILLIPS (Read 4 times) Subj: QB45 ... TP>>I am still using QB45 and need to know how to check for the existance of >>file.. other than being sloppy and using something like: .....code omitted.... Tom Phillips .....Internet: T.Phillips@phil.node99.com QB45 is your problem. If you change over to PowerBAsic (this echo) you can do it easily with IF DIR$(c:\sub\myfile.ext) > "" then print "It exists" else print "ain't there" END IF C'mon over to "our side". Latest version of PowerBASIC is 3.2. You can use your old QB45 source code. Well, 99% of it. I did. Peace. _____oOOo_/00\_oOOo_____ david.roper@mms.raleigh.nc.us 1996 \__/ 201 WINDING BROOK Dr, GARNER NC 27529 --- FLAME v1.1 * Origin: Full Internet Access $15.00, (919) 779-6674 or MMS.NET (1:151/102) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAM00014 Date: 06/18/96 From: TOM PHILLIPS Time: 01:07am \/To: ERIC SCHONNING (Read 4 times) Subj: QB45 ... Greetings Eric, -=[ Quoting Eric Schonning to Tom Phillips ]=- :E: QBASIC program I was writing (I distribute 'helper' utilities for my :E: door program as qbasic source code so it doesn't make for large files :E: due to compiled exe's) so wrote this. The interrupt call for qbasic :E: was found on the QuickBas echo. you'll have to implement QB 4.5 method :E: of doing these, of which I have no idea how to do. Eric Thanks a mil Eric, this is exactly what I was looking for and it works like a champ.. It took almost nothing (on my part) to implement this into QB :-) BTW - I found an echo tagged QUIK_BAS and activated it this morning.. Sorry about being off-topic but I had thought the other echo had died a couple of years ago.. :-/ ... Tom Phillips Internet: T.Phillips@phil.node99.com --- -=[RA 2.02/pro]=- * Origin: Phil's Place IV {RIP Graphics} [610] 252-6223 or 8633 (1:2607/303) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAN00000 Date: 06/17/96 From: LAWRENCE GORDON Time: 11:25pm \/To: JIM BROADBENT (Read 4 times) Subj: Parellel Port Quoting Jim Broadbent to Eric Schonning: JB> Could you give me some direction as to where I can get technical info JB> on this aspect. I am a good chemist....pretty good salesman....not-a-bad JB> programmer....but very limited when it comes to electronics (but JB> learning fast :-) JB> JB> I realize this is off topic though....Mr. Moderator I'll allow you to get the information from Eric, Jim, but please try to steer this discussion back to topic. -=> Lawrence <=- * WCE 2.1G1/2081 * --- InterEcho 1.18 * Origin: Toast House * (314) 994-0312 * (1:100/560) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAN00001 Date: 06/17/96 From: LAWRENCE GORDON Time: 11:42pm \/To: TOM PHILLIPS (Read 4 times) Subj: QB45 ... Quoting Tom Phillips to All: TP> BTW - Thanks to those that helped me with the LORD IGM structs..Got it TP> working and just waiting for Seth Able's seal of approval before TP> releasing it :-) Will you please post the LORD IGM structs here, Tom? Thanks. * WCE 2.1G1/2081 * --- InterEcho 1.18 * Origin: Toast House * (314) 994-0312 * (1:100/560) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DAN00002 Date: 06/17/96 From: LAWRENCE GORDON Time: 02:59pm \/To: JAMES GOLDBLOOM (Read 4 times) Subj: Using the 3.2 editor On 16 Jun 96, James Goldbloom wrote to Lawrence Gordon: LG> And yet, a lot of people prefer PB's IDE because it doesn't "hold LG> your hand". JG> Hehe.... yes, exactly! (laughing out loud) I was going to refer to another part of the anatomy when describing QB's editor, but then I remembered that I'm supposed to be moderating this echo. :) JG> That was something I am glad someone else wrote, 'cause I did not want JG> to seem like I was bashing QB. I just happen to be of the mold where JG> I learn the language, use an editor to get the job done, and do it the JG> way I wanna. Not the way "I should". I would like to see a SUBS JG> screen, but beyond that - leave the rest up to me in terms of the JG> design phase. A SUBS screen would be a welcome addition, as would a real project manager. --- PPoint 2.00 * Origin: Toast House Remote (1:100/560.1)