[Newbies] Re: ifTrue ifFalse help
rick.m.wallace at gmail.com
Thu Apr 28 13:26:34 UTC 2011
Thanks for all the feedback and analogies to Java. In addition to the
| a b c |
a := 6 // 2.
b := a asCharacter.
c := b isMemberOf: Character.
Transcript show: 'Member of Char: ', c, ' b = ', b; cr.
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 at free.fr> wrote:
> a String in smalltalk: 'hello'
> aString in java : "hello"
> a Character in smalltalk : $h
> a character in java: 'h'
> "calcrisk33" <rick.m.wallace at gmail.com> a écrit dans le message de news:
> 1303886113281-3477352.post at 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 at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners