logo       

UpdateStringMorph: msg#00156

lang.smalltalk.squeak.beginners

Subject: UpdateStringMorph

Hi all, I'll use a "space watcher' like the one described in Mark
Gudzial's squeak blue book, using UpdateStringMorph in a method like
this between {{ }} e.g:

{{
AOMView>>domainWatcher: anObject message: aSymbol

"Show in an Update StringMorph the output of a message in a certain
object in AOM Domain
use it in this way, in a workspace:
AOMView domainWatcher: <target object name> message: #<message>."


| spaceWatcher |

spaceWatcher := UpdatingStringMorph new.
spaceWatcher stepTime: 10;

target: anObject;

getSelector: aSymbol.

spaceWatcher openInWorld
}}

I want to send #aSymbol to getSelector with arguments (for example to
get an element from an Array), what I have to do?
in this way I can send only message with a method with no arguments
but I need a different behaviour.
Thanks to all.

Best Regards
--
--------------------------
Davide Arrigo


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise