Subj : A little help...
To   : Dallas Hinton
From : Mike Luther
Date : Tue Jan 06 2009 10:35 pm

Yes Dallas and Sean

DH> Hi Sean -- on Dec 31 2008 at 13:44, you wrote:

SD> I'm setting up BT 2.60XE (DOS version)...I've got everything set up,SD> but
I can't remember how to set up the errorlevels to drop to the SD> BBS.  I'm
using speeds up to 38400 (this is for a dialup node).  Any SD> help is
appreciated.

DH> Here's a simplified version:


DH>    If ErrorLevel 220 goto BBS      ; Errors above 219
DH>    If ErrorLevel 219 goto LOOP     ; Exit from Event file
DH>    If ErrorLevel  54 goto BBS      ; 19200 bps
DH>    If ErrorLevel  30 goto LOOP     ; Incoming ARCmail/pkt/file
DH>    If ErrorLevel  24 goto BBS      ; 2400 bps
DH>    If ErrorLevel  14 goto LOOP     ; Daily maintenance routine
DH>    If ErrorLevel  12 goto BBS      ; 1200 bps
DH>    If ErrorLevel   3 goto BBS      ; 300 bps
DH>    if errorlevel   2 goto max
DH>    if errorlevel   1 goto end
DH> goto LOOP

DH> I hope this helps.....

SD> Oh, Happy New Year too. :)

DH> and to you!

DH> Cheers... Dallas

Don't forget that you can also add function key exits that will produce
ErrorLevel values that match the key use.  That way you can automatically hit a
function key and using the discrete ErrorLevel value that produces.  You can
put an exit name location into the batch file that will do what you want.

       if errorlevel 100 goto LOCAL    ' F10 pops up MAX here
       if errorlevel  90 goto Echomail ' F9  pops up Echomal scan
       if errorlevel  80 goto Daywork  ' F8  pops up a forced daily run
       if errorlevel  70 goto Fmain    ' F7  Personal operation
       if errorlevel  60 goto Asksam   ' F6  Asksam total database
       if errorlevel  10 goto Funclist

And so on.  In DOS I still have the really top operation AskSam complete
relational database that has been scanning EVERY local echo for about 15 years
now that can fine EVERY use of the four letter word XXXX in every echomail area
locally!  Yes, true!  Ain't so big a file in that if you realize what a fully
relational database is, there is only one word XXXX in the database!  Every
related record to that XXXX is a huge integer pointer for everything else from
there.   Chortle.

Anyway, you get the idea what else you can do from just a function key exit
program selection here.

As the bunny said, "Hoppy New Year!"


--> Sleep well; OS/2's still awake! ;)

Mike @ 1:117/3001

--- Maximus/2 3.01
* Origin: Ziplog Public Port (1:117/3001)