Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!yale!venus!yalevm!maine!io92203 From: IO92203@MAINE.BITNET (Scott Maxell) Newsgroups: comp.lang.pascal Subject: Re: Just disregard me Message-ID: <91116.084010IO92203@MAINE.BITNET> Date: 26 Apr 91 12:40:10 GMT References: <1991Apr26.003242.14942@javelin.sim.es.com> Organization: University of Maine System Lines: 30 In article <1991Apr26.003242.14942@javelin.sim.es.com>, tpehrson@javelin.sim.es.com (Tim Clinkenpeel) says: > >i fiddled, i faddled, i fuddled and then i posted a message for help. > >of course after posting i decide to try ONE LAST THING, which was: > >repeat while upcase(key) not in ['A','B','H','W']; > >i just knew it was syntax. however, i was once ploggin' through someone >else's >code and they had done something very similar without having to quote and >comma >but once (like my first example). memory is shady about this incident, so i'd >like to know if it's possible or they had writting a custom routine. > What you probably saw was a set constructed as follows: LetSetType = ['A'..'Z']; Or something similar to that. This type of set will only work with a contiguous subrange of a larger set. //////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ +---------+ Scott Maxell -- Bitnet ->> IO92203 @ maine | | -- Internet ->> IO92203 @ maine.maine.edu | O | | | | "What I need is a computer that will do what I want it to +---------+ do, not what I tell it to do..."