[Newbies] Re: Re: perform withArguments
Lou at Keystone-Software.com
Tue Apr 24 14:07:39 UTC 2012
>Ah that's curious - your reply did not have a Re: and was not threaded with the original message. Would have saved me to write a message very similar to yours ;)
>- Bert -
Sorry about that. I don't like seeing all the Re: Re:.... filling up the
subject line often to the point where you can't see the real subject any
more, so I often remove it.
I use Forte Agent for email and news groups because it (by and large)
treats them the same and I can keep them all in one place. I read the post
at and posted my reply to gmane.comp.lang.smalltalk.squeak.beginners. With
Forte Agent, all the posts, including mine were in the same thread. What
is also curious is that I also received a copy of your post (the one I am
replying to here) as an email but none of the other posts including your
I seem to get all the posts via the news group but only some of the emails.
I would rather I just get the news group posts but don't know how to turn
off the email copies.
Anyway, I will try to remember to leave one Re: in the future. Although
I'm not sure why it is required to keep the thread together. If anything,
having exactly the same subject line should keep post together better than
having to ignore a lot of Re:'s to fine the real subject.
>On 23.04.2012, at 10:44, Louis LaBrunda wrote:
>> For your example:
>> cellObject cellLock: aBoolean
>> where cellObject is to look like: cell1, cell2, cell3 ..., or cell9
>> I don't think you want or need to use #perform:. You use #perform: when
>> you want to construct the message name and sent the constructed message
>> name to an object.
>> In your case you know the message you want to send, it is #cellLock:. What
>> you don't know (or have easily available) is the object you want to send
>> the message to.
>> What I think you need to do is save your cell objects in an array or
>> collection (I will let you look up collections, but ask again if you need
>> help). With something like:
>> cellObjects := OrderedCollection new.
>> cellObjects add: YourCellClass new.
>> Once you have a collection of your cells, you can access one or more of
>> them and sent the #cellLock: message to it like so:
>> (cellObjects at: cellNumber) cellLock: aBoolean
>> Good luck and keep posting if you need help.
>> On Mon, 23 Apr 2012 07:58:47 -0700 (PDT), OrgmiGeek
>> <cool.origami.1 at gmail.com> wrote:
>>> I've read the sparse documentation on 'dynamic message' calls and I've
>>> experimented a lot and still cannot figure out how to do something that
>>> should be simple:
>>> I want to build a message like this:
>>> cellObject cellLock: aBoolean
>>> where cellObject is to look like: cell1, cell2, cell3 ..., or cell9
>>> I can build up cellObject like this:
>>> self perform: ('cell', cellNumber asString) asSymbol
>>> but I can't figure out how to build the full message with the key selector
>>> "cellLock:", and the value 'aBoolean'.
>>> I've tried everything I can think of based on the terse documentation, and
>>> anything I can find on the internet, which isn't much (including this
>>> Any help would be appreciated.
>>> Under the age of 15 so don't want to post my name :D
>> Louis LaBrunda
>> Keystone Software Corp.
>> SkypeMe callto://PhotonDemon
>> mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com
Keystone Software Corp.
mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com
More information about the Beginners