On 15 March 2013 13:44, Mohammad Al Houssami (Alumni)
<[email protected]> wrote:
> Im not sure where you got the 16r0026 from. What I have is something like this
> U+0009 CHARACTER TABULATION (tab)
> U+000A LINE FEED (LF)
> U+000C FORM FEED (FF)
> U+0020 SPACE
>
> Whats on the left is the unicode representation. In some cases there is no 
> actual character to compare to( so I cant compare to < > &....)
> What I will have to do is to create a character with unicode value U+000A.
> I have tried myCharacter:= 000A asCharacter. But it doesn't work.
>
> When I try to print myCharacter it gives an error because it doesn't 
> understand the A.
>
because 000A is not valid literal in smalltalk.
it is actually understood by compiler as unary message:
 0 A

if you want to use hexadecimal integer litrals, you should use radix notation:

<base>r<number>

try:

2r10101101
16rA



> Thanks
> Mohammad

-- 
Best regards,
Igor Stasenko.

Reply via email to