home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4817 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1005 b   |  24 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!utcsri!skule.ecf!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: array index??
  5. Message-ID: <dmurdoch.3.713628274@mast.queensu.ca>
  6. Lines: 12
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <g88d4938.6.713599806@giraffe.ru.ac.za>
  10. Date: Wed, 12 Aug 1992 14:04:35 GMT
  11.  
  12. In article <g88d4938.6.713599806@giraffe.ru.ac.za> g88d4938@giraffe.ru.ac.za (MR GE DOYLE) writes:
  13. > Oh. Is there anyway to declare and array of records so that you can index   
  14. > the array by a string?
  15.  
  16. Not in standard Pascal, but you can get the same effect with some work using 
  17. a TSortedCollection or TStrCollection from TP 6.0 TurboVision or with almost 
  18. no work using a StringDict from Object Professional (for TP 5.5 or 6.0).  
  19. OPro is a commercial library available from TurboPower Software; it sells 
  20. for about $US 139 mail order.
  21.  
  22. Duncan Murdoch
  23. dmurdoch@mast.queensu.ca
  24.