TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Bob Brisco
from: Gerald Miller
date: 2003-12-22 10:32:26
subject: sched.btm - dayboot replacemnt

Hello Bob,

    Responding to a post in the 4DOS area:
    On Thursday December 04 2003 at 16:02,
    Bob Brisco [1:229/650.100] wrote to Jasen Betts,
    about: sched.btm - dayboot replacemnt

 JB>> if "%1"=="HELP" .or.
"/HELP"=="%1" .or. "%1"=="-HELP" %=
 JB>>  ( *ffind  /VMKT"%{at}char[58]!" %_BATCHNAME | *list %+
goto usage )

 BB> I see a problem the way you have this %1 can only be: ("HELP" or
 BB> "/HELP"). The user can input: help helP heLp Help . . .

 BB> What you need to do is:

 BB> if "%{at}UPPER[%1]" =="HELP" .or.
"/HELP"=="%{at}UPPER[%1]" .or.
 BB> "%{at}UPPER[%1]"=="-HELP" %=


 BB> The above converts the %1 INPUT to ALL UPPER Case.
 BB> It does NOT change the Value of %1.

 BB> Try having %1 be "HeLp", see what happends.

I tried:

    sched HeLp
    sched hElP

etc., and didn't have any problems, but I can't see anything wrong with
incorporating your suggestion.


           Thanks ... Gerald

... You can't direct the wind. But, you can adjust your sails!
--- GoldED+/DPMI32 v1.1.5-30512
* Origin: Are Cheerios really bagel seeds? (1:342/512)
SEEN-BY: 633/267 270
@PATH: 342/512 5 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.