calcrisk33 pisze:
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!
Some analogies:
If you know C: Smalltalk|C 'abc' |"abc" $a |'a'
If you know some philosophy:
compare the relations: is a kind of is a part of or compare sets in set theoretical and mereological meaning (in mereological meaning {a}=a)
If you know some linguistics: compare count nouns with mass nouns
If you know nothing about those: compare: half of a car isn't a car half litre of water is water
is a character a string? in Smalltalk the answer is NO.