TIP: Click on subject to list as thread! ANSI
echo: batpower
to: Paul Quinn
from: Richard Webb
date: 2010-01-23 14:09:14
subject: limiting scope of acceptable command line parm

Hi Paul,

On Sat 2038-Jan-23 17:51, Paul Quinn (3:640/384) wrote to Richard Webb:

PQ> On 21 Jan 10 06:51, you wrote to me:

 RW> Yah bummer, I lost Dbase IV and III both in the hurricane

PQ> On its way to you tonight (my time) is a belated CARE package. 
PQ> Check your insecure inbound files... fingers crossed...

Got it, thanks!!!

 PQ>> Mmm.  You still have that NLSS.bat and the required utils?  I used
 PQ>> a thingy called 'IFNUMBER" to do range checking on command-line
 PQ>> input...
 RW> THere we go!!! WE're usually talking about single digit
 RW> numbers, so we're not talking a whole lot of parsing to do.

 PQ>> Is that what you had in mind, mate?

 RW> Maybe, but what happens to ifnumber I wonder if the bonehead that
 RW> invokes it types something which is an alpha string as the command
 RW> line parm?

PQ> Not sure.  There might be some cr*p on the local screen as IFNUMBER
PQ> drops its guts, though the errorlevel check(s) should catch the
PQ> logic flow. 

That's as I'd think, and if any bonehead types an alpha
string it would be this bonehead .  Want to trap it good
though as TImo's batch compatible calculator spills its guts to the file to
be written to I note.



PQ> In 'the package' is a cute little doover I only just got the hang of
PQ> back in the day, called: Form Gen, -aka- FORm GEn (-aka- FORGE) that
PQ> does *that* either for Turbo Pascal or dBASE.

Yep, think I got that from a friend of mine back in the day
too,  roomate who was systems analyst for the state of IOWa
showed it too me iirc.  HE was a clipper guy too, and taught me how to
write programs in dbase for the average folks.  My first foray into dBase
programming, a food vending machine
inventory control prg.  Quite an adventure.

PQ> There's also a util called: dBMENU, but I don't remember doing much
PQ> with it though I have an inkling in my waters that I may have used
PQ> it at work back in the middle-90s.  You're welcome to throw it.  :)

PQ> Also included is a BBS door program by Harvey Parisien called:
PQ> RADPLUS, that may be useful; it's designed to manipulate .DBF files
PQ> remotely, and to run from a RA-style BBS but might be shoe-horned to
PQ> your needs.  That particular copy is the one I used to run prior to
PQ> 1998 and had some interaction with *one* user during initial
PQ> testing.  (I don't have the original archive, dammit.) 

Betcha my uplink does, or might know something about it.  IF it uses
door.sys or doorinfoxx then it should be usable.


Thanks!!!
Watch for email, which should reach you before this does.

Regards,
           Richard
--- timEd 1.10.y2k+
* Origin: Radio REscue net operations BBS (1:116/901)
SEEN-BY: 10/1 11/200 331 34/999 120/228 123/500 128/2 187 140/1 222/2 226/0
SEEN-BY: 236/150 249/303 250/306 261/20 38 100 1381 1404 1406 1410 1418
SEEN-BY: 266/1413 280/1027 320/119 393/68 396/45 633/104 260 267 285 640/954
SEEN-BY: 690/682 734 712/0 313 848 800/432 801/161 189 2222/700 2320/100 105
SEEN-BY: 2320/200 5030/1256
@PATH: 116/901 3634/12 123/500 261/38 633/260 712/848 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™.