home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8644 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.0 KB

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