Article View: comp.os.msdos.programmer
Article #1043Sorting/Printing
From: libh
Date: Thu, 20 Aug 1992 02:22
Date: Thu, 20 Aug 1992 02:22
24 lines
2127 bytes
2127 bytes
I am working on a project for a friend that requires me to sort a large file of records (2000+ entries generally) that will change from month to month as he gets updates so I can never be certain of the number of records. I would appreciate any suggestions on sorting the file. Right now I am debating on how to treat it as a large array on disk and sort it as if it were in memory, but I also realize that it would be VERY slow. Any suggestions would be greatly appreciated. Also, can someone tell me how to send escape codes to the printer. I haven't had a reason until now but he wants the sorted file printed out in condensed print. How do I send the 'chr(27) + ??' (the basic version) to the printer. I tried sending the character 27 + value but it just gave me the ascii equivalent letter rather than changing the printer setup. Thanks alot in advance for any help on either question.... ******************************************************************************** * | What do I see? * * | I see time as it affects all things . . . * * John White | Human flesh withers and dies before my eyes. . * * | Flowers bloom only to fade . . . * * Libh@Jetson.uh.edu | Trees drop green leaves, never to regain them * * | In my sight. . .it is always winter. . .always night * * | -- Raistlin -- * ********************************************************************************
Technical Details
Message-ID:
<1992Aug20.022202.2349@menudo.uh.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!Jane.UH.EDU!LIBHShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!Jane.UH.EDU!LIBH From: libh@Jane.UH.EDU Newsgroups: comp.os.msdos.programmer Subject: Sorting/Printing Message-ID: <1992Aug20.022202.2349@menudo.uh.edu> Date: 20 Aug 92 02:22:02 GMT Article-I.D.: menudo.1992Aug20.022202.2349 Sender: usenet@menudo.uh.edu (USENET News System) Reply-To: libh@Jane.UH.EDU Organization: University of Houston Lines: 24 Nntp-Posting-Host: jane.uh.edu