After a long enough hiatus, I'm re-visiting Smalltalk :)
http://www.gnu.org/software/smalltalk/manual/html_node/Arrays.html#Arrays
says:
[quote]
There is a shorthand for describing the messages you send to
objects. You just run the message names together. So we would say
that our array accepts both the at: and at:put: messages.[/quote]
Given:
x := Array new: 20
x at: 1 put: 99
What would be the shortcut syntax for this array assignment? Or am I
misunderstanding what I quoted above?? TIA...
Duke
--
Duke
“Tolerance becomes a crime when applied to evil.” ― Thomas Mann
_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk