home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7486 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.0 KB  |  34 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!mcsun!sun4nl!htsa.htsa.aha.nl!quintenu
  3. From: quintenu@htsa.aha.nl (Quinten Uijldert)
  4. Subject: Wanted: Code for sorting a file
  5. Date: Tue, 15 Dec 1992 13:53:54 GMT
  6. Organization: Algemene Hogeschool Amsterdam, Polytechnic Institute
  7. Sender: news@htsa.aha.nl (News Manager)
  8. Message-ID: <1992Dec15.135354.10665@htsa.aha.nl>
  9. Lines: 23
  10.  
  11. Who can E-Mail me some code for sorting a file. The file contains
  12. records like this:
  13.  
  14. TYPE
  15.   RecType = RECORD
  16.     Name, Street, Zip, Telephone: String;
  17.   END;
  18.   FileType = TEXT;
  19.  
  20. VAR
  21.   Rec: RecType;
  22.   f: FileType;
  23.  
  24. I Want to sort the file on Rec.Name, but I can't figure it out how
  25. to do it.
  26. I Use TP 6.0.
  27.  
  28. Thanks in advance...
  29.  
  30. ----------------------------+---------------------------------------------------
  31. Quinten Uijldert            | 'HO HO HO !!' | 'It's an offer you can't refuse.'
  32. quintenu@solist.htsa.aha.nl | -Santa Claus- | 'All major creditcards accepted.'
  33. ----------------------------+---------------------------------------------------
  34.