On Mon, 07 Jul 2008, Randy Portnoff wrote: > Hi Przemek, > I don't think you understand what I mean... > In Clipper, if you attempt to update a record when at EOF (ie. by > mistake), it does NOT cause a runtime error (which is bad!).
Yes, it is. > Harbour, > on the other hand, does generate a runtime error (which is good!). No. Harbour doesn't generate RT error in such case. Maybe some RDDs you are using make it but this are not core RDDs. Probably you are using ADS RDD where we have: if( !pArea->fPositioned ) { /* TODO: it should return SUCCESS for Clipper compatibility */ return FAILURE; } And this is Clipper incompatible behavior local to ADS RDD only and which probably should be fixed by simple modification to: if( !pArea->fPositioned ) return SUCCESS; what will restore original Clipper behavior. > However, what I am saying is that, the error message that Harbour > generates now (ie. "Variable does not exist") is misleading. I am > suggesting that is be re-worded to "Attempt to update record while at EOF". So use the code I send to generate any error message you like. > Does that make sense? For me from the beginning :-) but I'm afraid you missed original Harbour behavior. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour