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