ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> squeak-list
squeak-list
Re: Identity vs equality (was Re: [Newbies] Assignment)
by Igor Stasenko other posts by this author
Aug 13 2007 12:18PM messages near this date
Re: Identity vs equality (was Re: [Newbies] Assignment) | Re: Identity vs equality (was Re: [Newbies] Assignment)
On 13/08/07, nicolas cellier <ncellier@[...].com>  wrote:
> 
>  Andreas, as you can see even symmetry is not yet there...
>  As soon as a bug is fixed, one other makes surface, try:
> 
>          'A' asText = 'A'.       "true"
>          'A' = 'A' asText.       "false"
> 
yes, coercion makes the difference:

#symbol asString = 'symbol'  "true"
'symbol'  = #symbol asString "true"

#symbol = 'symbol'  asSymbol "true"

>  Playing with = is something dangerous...
> 
>  Nicolas
> 
> 
> 


-- 
Best regards,
Igor Stasenko AKA sig.
Thread:
goran
Nicolas Cellier
Alexander
Nicolas Cellier
Nicolas Cellier
Igor Stasenko
Nicolas Cellier
Klaus D. Witzel
goran
Andreas Raab
goran
Craig Latta
Andrew Tween
Stephane Ducasse
Andreas Raab
Stephane Ducasse
Blake
Stephane Ducasse
Andres Valloud
Jon Hylands
Stephane Ducasse
Andreas Raab
Stephane Ducasse
Philippe Marschall
Keith Hodges
Stephane Ducasse
Andreas Raab
Alexander
Blake
Andres Valloud
Lukas Renggli
Andrew Tween
Yoshiki Ohshima
Andrew Tween
Philippe Marschall
Andrew Tween
Lukas Renggli
Philippe Marschall

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved