Article View: borland.public.delphi.nativeapi
Article #12099Re: what is in?
From: Kurt Barthelmess (TeamB)
Date: Mon, 25 Nov 2002 17:55
Date: Mon, 25 Nov 2002 17:55
22 lines
1275 bytes
1275 bytes
"Chris Winters" <channel0_70@yahoo.com> wrote: >if (s[1] in UPChars) > >where UPchars and s is an array. "s" might be an array, but UPChars would have to be a set of something, not an array. It's asking if the first element of "s" is a member of that set. const UPChars: set of Char = ['A'..'Z']; var s: array [1..99] of char; or s: string; // s[1] is the first character in the string. Good luck. Kurt
Technical Details
Message-ID:
<3de26316.10875207@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3de25bca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,47bb78af2fb762c4,start X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2002-11-25 10:15:54 PST From: kbarthelmess@compuserve.com (Kurt Barthelmess (TeamB)) Newsgroups: borland.public.delphi.nativeapi Subject: Re: what is in? Date: Mon, 25 Nov 2002 17:55:09 GMT Organization: Scharf Systems Message-ID: <3de26316.10875207@newsgroups.borland.com> References: <3de25bca$1@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 216.192.38.37 X-Trace: newsgroups.borland.com 1038246906 216.192.38.37 (25 Nov 2002 09:55:06 -0800) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail