help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Parsing characterPoints


From: Brad Watson
Subject: Re: [Help-smalltalk] Parsing characterPoints
Date: Sat, 2 Dec 2006 09:45:10 -0800 (PST)

Thanks -- I'm sure I did something stupid.

Regards,

Brad

----- Original Message ----
From: Paolo Bonzini <address@hidden>
To: Brad Watson <address@hidden>
Cc: address@hidden
Sent: Saturday, December 2, 2006 9:41:44 AM
Subject: Re: [Help-smalltalk] Parsing characterPoints


> answersACharacterPoint
>     ^$<12>! 
> 
> gst seems to dislike it ....  

Uhm, not for me:

st> Object compile: 'aChar ^$<12>'!
CompiledMethod new: 0 "<0x30529b0>"
st> ^nil aChar codePoint!
12

but if you want, you can use ##(Character codePoint: 12) too.

Paolo





 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]