From: Andrew C. <an...@an...> - 1999-12-16 19:07:56
|
Hi Rildo, Yes I think that the compiler should generate an error if the key is is missing on the Select statement for an indexed file. The whole point of an indexed file is that it is indexed on a primary key that must be unique. Regards Andrew On Thu, 16 Dec 1999, Rildo Pragana wrote: > Date: Thu, 16 Dec 1999 00:26:34 -0200 (EDT) > From: Rildo Pragana <rpr...@ac...> > Reply-To: tin...@so... > To: tin...@ma... > Subject: RE: [Tiny-cobol-users] Some fixes for indexed file... > > Hi Andrew, > > I have got your mail from our archive, for I'm still without pop3 :( > > Well, if the "key" clause is needed, then Glen's code is buggy. It tried > to open the indexed file without it. Please see his test suite. He will > only come back saturday. > If you agree on that, I can enforce this condition in the compilation, > generating a warning/error. > > regards, > ---------------------------------------------------------------- > Rildo Pragana FPGA/uControllers * Linux * tcl/tk > P.O. Box 721 Camaragibe PE http://members.xoom.com/rpragana > Brazil 54792-990 +55-81-459-1776 > > > _______________________________________________ > Tiny-cobol-users mailing list > Tin...@li... > http://lists.sourceforge.net/mailman/listinfo/tiny-cobol-users > ----------------------------------------------------------------------------- Andrew Cameron Internet : an...@an... X.400 : C=ZA G=Andrew S=Cameron Admd=TELKOM400 ---------------------------------------------------------------------------- |