Record locking

Bill Vermillion fp at wjv.com
Wed Mar 31 08:05:17 PST 2004


On Wed, Mar 31, 2004 at 10:36:11AM -0500, Jay R. Ashworth thus
spoke:

> On Wed, Mar 31, 2004 at 03:04:49AM -0500, John Esak wrote:
>
> > One other minor point. Richard's code that goes out to check
> > if the number has been used before... well, that makes _no_
> > sense to me. Why would you have to check such a thing? If
> > you are only supplying the next highest number out of a
> > control file in the way shown above... there is no need to
> > check whether the number you've just retrieved has ever been
> > used... how could it be?

> I can't.

> But trapping "can't happen" conditions has proven very useful
> for me in the past. :-)

To use one of Jay's favorite phrases "Indeed".

I'd believe in "can't happen" if all code was perfict [No Bugs
M'Lady) and hardware never fayled.

Bill

-- 
Bill Vermillion - bv @ wjv . com


More information about the Filepro-list mailing list