Thanks, I'll have a look at it.
On 2013/01/21 04:07 PM, Honza wrote:
> 2013/1/20 Paul Ishenin :
>> 20.01.13, 23:21, Wimpie Nortje пишет:
>>> Hi list
>>>
>>> I want to test membership of a unicode char in a set / array of unicode
>>> chars. Something like
>>>
>>> var ucCh: unicodechar;
>>>
>>> if u
2013/1/20 Paul Ishenin :
> 20.01.13, 23:21, Wimpie Nortje пишет:
>>
>> Hi list
>>
>> I want to test membership of a unicode char in a set / array of unicode
>> chars. Something like
>>
>> var ucCh: unicodechar;
>>
>> if ucCh in [ UnicodeChar('0')..UnicodeChar('9')] then
>> dosomething;
>>
>> I
Thanks, I had already written a CharInSet(UnicodeChar; UnicodeString)
function, but I hoped there were a language construct equivalent to the
ansi char method.
On 21 January 2013 10:32, Marco van de Voort wrote:
> In our previous episode, Paul Ishenin said:
> > >
> > > I am using fpc 2.6.0 and
In our previous episode, Paul Ishenin said:
> >
> > I am using fpc 2.6.0 and the '..' operator converts the data to a pascal
> > set, which is limited to 1 byte data.
> >
> > Is there another way?
> Delphi has CharInSet() function for this:
> http://docs.embarcadero.com/products/rad_studio/delphiA
20.01.13, 23:21, Wimpie Nortje пишет:
Hi list
I want to test membership of a unicode char in a set / array of unicode
chars. Something like
var ucCh: unicodechar;
if ucCh in [ UnicodeChar('0')..UnicodeChar('9')] then
dosomething;
I am using fpc 2.6.0 and the '..' operator converts the da
Hi list
I want to test membership of a unicode char in a set / array of unicode
chars. Something like
var ucCh: unicodechar;
if ucCh in [ UnicodeChar('0')..UnicodeChar('9')] then
dosomething;
I am using fpc 2.6.0 and the '..' operator converts the data to a pascal
set, which is limited to 1