Thanks for all the feedback and analogies to Java. In addition to the original question...
Given: | a b c | a := 6 // 2. b := a asCharacter. c := b isMemberOf: Character. Transcript show: 'Member of Char: ', c, ' b = ', b; cr.
Result: Member of Char: true b =
I was wondering why b is not getting displayed.
Thanks in advance!
On Wed, Apr 27, 2011 at 4:39 PM, Alain_Rastoul alr.dev@free.fr wrote:
a String in smalltalk: 'hello' aString in java : "hello" a Character in smalltalk : $h a character in java: 'h'
Cheers Alain
"calcrisk33" rick.m.wallace@gmail.com a écrit dans le message de news: 1303886113281-3477352.post@n4.nabble.com...
bool = $a worked like a charm! So what exactly does $ do? I'm more familiar with Java and am trying to break that thought process... relating Squeak to Java.
Appreciate it!
-- View this message in context: http://forum.world.st/ifTrue-ifFalse-help-tp3477318p3477352.html Sent from the Squeak - Beginners mailing list archive at Nabble.com.
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners