Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!balrog!smith From: smith@ctron.com (Larry Smith) Newsgroups: comp.lang.pascal Subject: Re: wish i could figure this out for myself Message-ID: <1470@balrog.ctron.com> Date: 3 May 91 19:54:56 GMT References: <1991May3.140719.5931@javelin.sim.es.com> <1991May3.150243.3793@e2big.mko.dec.com> <1991May3.170232.7710@javelin.sim.es.com> Sender: news@balrog.ctron.com Organization: Cabletron Systems Inc. Rochester, NH Lines: 25 Nntp-Posting-Host: glinda In article <1991May3.170232.7710@javelin.sim.es.com> tpehrson@javelin.sim.es.com writes: >granoff@vaxwrk.enet.dec.com (Mark H. Granoff) writes: >>Close... Try something like this: ...perfectly serviceable piece of code demonstrating textbook use of charsets deleted for brevity... >yeah, i had considered doing it this way but i thought it was sloppy. >besides, i really like to know how to do such a thing exclusively. Just what do you think you are trying to *do*? The suggested code is perfectly straightforward, utterly standard Pascal. How do you come to the "sloppy" conclusion? Your non-working example seemed to show you were not clear on the distinction between the SET OF CHAR and STRING types. The suggested code fragment demonstrated exactly what you wanted to do, and with excellent style. Just what are you looking for? Larry Smith smith@ctron.com -- Larry Smith smith@ctron.com The usual disclaimer stuff...