--------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300028 Date: 02/26/98 From: DOUGIE HOSKINS Time: 08:01pm \/To: ANDY HOLDING (Read 3 times) Subj: testing web page Andy :> 22-Feb-98 20:01:09, Andy Holding wrote to All Subject: testing web page AH> could some tell me if my website works, the code works fine off line but AH> I tried at someone elses page it didn't wrok. AH> WWW.HOLDING.DEMON.CO.UK Why are you asking in here? +------------- Now on-line -------------+ Dougie Hoskins, Glasgow, ECOSSE www.drumkit.demon.co.uk +---------- The Crap Network! ----------+ --- Terminate 4.00/Pro * Origin: over the hills and far away - Teletubbies come to play 2:258/1.21) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300029 Date: 02/26/98 From: DOUGIE HOSKINS Time: 08:03pm \/To: COLIN DOMANSKY (Read 3 times) Subj: Problem Colin :> 25-Feb-98 07:53:55, Colin Domansky wrote to All Subject: Problem CD> Why doesn't this work CD> for j = 1 to 3 CD> for k = 2 to 4 step -1 CD> print j CD> next k CD> next j You can't step backwards from 2 to 4, can you? Either remove the step -1 or change the second line to: FOR k = 4 TO 2 STEP -1 +------------- Now on-line -------------+ Dougie Hoskins, Glasgow, ECOSSE www.drumkit.demon.co.uk +---------- The Crap Network! ----------+ --- Terminate 4.00/Pro * Origin: Flight of Fantasy - 0141 554 9157 (2:258/1.21) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300030 Date: 02/24/98 From: CHRIS WILSON Time: 08:58pm \/To: GARY TYLER (Read 3 times) Subj: Opening a COM port in QBASIC ->>Hi all, ->> I have a BBS and a Basic Compiler.. I'd like to put my ->> basic progra ->>on my BBS.. ->>Does anybody know how to open COM 3 and make the program work ->>on a BBS!? ->> Thankz, ->> Chris.. GT> If you use the OPEN statement to OPEN a comport, Qbasic will CLOSE t GT> when the program ends. When this happens your caller will GT> loose carrier. I belive that you will have to use INTERUPTS GT> to read the comport without using the OPEN statement. I do GT> not know how to do this yet, but I think you might want to GT> change your question to "How do I read and write to the GT> COMPORTS without using the OPEN statement"). GT> Gary Okay, thankz for your help:) Bfn, Chris --- * Origin: The Galaxy BBS (Private System) (2:2502/66.13) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300031 Date: 02/24/98 From: CHRIS WILSON Time: 09:03pm \/To: RICHARD MCCONNELL (Read 3 times) Subj: Opening a COM port in QBASIC RM> I have made a program in QBASIC that is a connection program RM> and I used this to Open com1, com2, But I never used it on RM> com3 or com4 RM> |---------------------CODE STARTS HERE---------------| RM> CR$ = CHR$(13) RM> openCom "COM2:2400,N,8,1,RB1024,XON" RM> comPrint "ATZ" + CR$ RM> |----------------------------------------------------| RM> If you need anthing else with this part just ask and I will RM> post some more The stuff about BBS I have know clue.... RM> Hope this helps For some reason QBasic comes up with.. "Syntax error" on "openCom" Do you know the reason..?? Thanks for your help:) Bfn, Chris --- * Origin: The Galaxy BBS (Private System) (2:2502/66.13) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300032 Date: 02/24/98 From: CHRIS WILSON Time: 09:04pm \/To: TED CRAMER (Read 3 times) Subj: Opening a COM port in QBASIC CW->> 157/586 Hi all, I have a BBS and a Basic Compiler.. I'd CW->> like to put my basic programs on my BBS.. Does anybody know CW->> how to open COM 3 and make the program work on a BBS!? TC> I'll be posting the info within the next couple of weeks. I wrote a BBS TC> door several years ago and as soon as I have time to pull the code from TC> the backups I'll post the info here. Okay... thanks very much:) Bfn, Chris --- * Origin: The Galaxy BBS (Private System) (2:2502/66.13) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300033 Date: 02/26/98 From: COR VAN DEN HOOVEN Time: 06:57pm \/To: COLIN DOMANSKY (Read 3 times) Subj: Problem On (25 Feb 98) Colin Domansky wrote to All... CD> Why doesn't this work CD> for j = 1 to 3 CD> for k = 2 to 4 step -1 Can you count from 2 till 4 with a NEGATIVE increment? Neither can a computer. CD> print j CD> next k CD> next j Greetings from Apeldoorn, the Netherlands, Cor. cor.van.den.hooven@babysoft.xs4all.nl ... I visit the shrink, because my program doesn't understand me! --- PPoint 2.05 * Origin: BABYSOFT +31-33-4656052 (2:283/548.30) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300034 Date: 02/26/98 From: CHRIS GUNN Time: 04:52pm \/To: COLIN DOMANSKY (Read 3 times) Subj: Re: Problem CD> Why doesn't this work CD> for j = 1 to 3 CD> for k = 2 to 4 step -1 CD> print j CD> next k CD> next j Howdy Colin, It will never get to the PRINT because "2 TO 4 STEP -1" will immediately go o a 1 which aborts the loop. Put a temporary STOP after the "NEXT K%" or single step through your code with and check the value in J% with . Try: FOR K% = 4 to 2 STEP -1 PRINT J% NEXT K% Setting temporary Breaks with or adding STOP's is part of the trouble shooting techniques you'll need to debug your code. Chris --- FMail 0.96 * Origin: BIZynet - Worldwide Business via the E-Ways (1:15/55.1) --------------- FIDO MESSAGE AREA==> TOPIC: 125 QUICK BASIC Ref: F3300035 Date: 02/26/98 From: BUCKY CARR Time: 07:20pm \/To: DAVID WILLIAMS (Read 3 times) Subj: Old Folks -> The first BBS I ran was put on-line in 1981, if I'm remembering -> correctly. DW> I effectively SYSOPed the BBS of the Toronto PET Users' Group about DW> then. A year or two later, I put my own board online. DW> I guess a lot of the folks around here hadn't yet been thought of! We old folks have a lot we can share with the young uns about programming then and now. The irony is that 640k seems bit crowded now, but QB sure offers a great, great learning environment. --- PPoint 2.00 * Origin: Vanishing Point (1:15/7.1)