Record locking

Jay R. Ashworth jra at baylink.com
Wed Mar 31 07:36:11 PST 2004


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.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

        "They had engineers in my day, too."  -- Perry Vance Nelson


More information about the Filepro-list mailing list