HP3000-L Archives

December 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Hula <[log in to unmask]>
Reply To:
Date:
Thu, 17 Dec 1998 16:24:26 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Have to do a sort.  I would suggest reading the entries into memory (if there
aren't going to be a ton) and doing a memory sort.  Or else use a different
file structure, like a KSAM file to get it indexed the way you want it.

Seamus Browne wrote:

> Circular files ...
> Ok I understand the principle of the circular file and I intend to use it
> for updating stats reports for users.
> Only one problem, new info is added at the bottom end of the file and the
> old info is squeezed out at the top.
>
> I would like the newest info to be at the top so the user can see it
> straight away
> and browse along down if he wants the older data.
>
> Anyone know a smart way of doing this without a SORT?
>
> TIA
> Seamus
> [log in to unmask]

ATOM RSS1 RSS2