Dave Sellers wrote:
> Some time ago but now something to add.... (see thread around 4th June 
> for full details)
> 
> A colleague found the cause of my DBG1477 error when it became a problem 
> for him.  It was a declaration of a set which Delphi didn't like:
> 
> const
>   WideDigits = [WideChar('0')..WideChar('9')];
> 
> We're not sure what's so offensive about this in conjunction with TD32 
> debug info, any ideas?

A set type in Delphi can have a maximum of 256 possible elements. A set 
of WideChar would have a maximum of 65536 elements, so it is not a legal 
data type. The following declaration will accomplish the same thing, but 
with legal types:

const
   WideDigits = ['0'..'9'];

Below code point 128, ASCII and Unicode are identical. That range 
includes the digit characters.

-- 
Rob


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to