How do I compare between ByteString and ByteSymbol in squeak?
Posted
by Guy
on Stack Overflow
See other posts from Stack Overflow
or by Guy
Published on 2010-05-08T18:24:22Z
Indexed on
2010/05/08
18:28 UTC
Read the original article
Hit count: 401
Hi,
I want to execute the following code:
methodName := thisContext sender method selector.
aClass selectors do: [:current | current == methodName ifTrue: aBlock].
Although the strings are equal, it never steps into the "ifTrue", I've tried converting both of them to ByteArray\String and it steel didn't work. Any ideas of how to compare them so I will get to the "ifTrue"?
Thanks in advance
© Stack Overflow or respective owner