Re: [Cobolforgcc-devel] Sort definition
Status: Pre-Alpha
Brought to you by:
timjosling
From: Tim J. <te...@me...> - 2000-12-27 08:33:43
|
Bill, Thanks. Which section of the standard are you referring to? Declaratives are down the track but it is good to know these things in advance. The spec below is just for the 'inner sort' - other moodules will do the file IO, interfacing to the compiled code, overflowing to disk and so on. So it is not as bad as it looks. Regards, Tim Josling PS no need to cc me I always read the mailing list. "William M. Klein" wrote: > > I seem to have missed whatever note this is replying to - but does this > handle both > > WITH DUPLICATES > > and > > COLLATING SEQUENCE clauses? > > Also, what (if anything) does this do with INPUT/OUTPUT procedures? > > If you "implement" a simple (Using/Giving - native collating sequence - > only) SORT, then I suggest that you add a compile-time message "warning" > that other phrases are "currently ignored" > > P.S. There is a VERY obscure rule in the ANSI Standard (that some compiler > ignore and most programmers do NOT know about) which states that you "must" > go to a File Declarative in the middle of a SORT - should the "condition" > specified in the DECLARATIVE occur anywhere during the SORT. Just thought I > would mention this - so you might want to "design" around this. > |