Method invocation in Slang

Bert Freudenberg bert at freudenbergs.de
Wed Feb 6 11:11:19 UTC 2008


On Feb 6, 2008, at 12:02 , Robert Krahn wrote:

> Hello!
>
> Is there a way to invoke a "normal" method from an arbitrary object  
> in Slang?
>
> If I have an oop:
>
> oop := interpreterProxy instantiateClass: MyClass indexableSize: 0.
>
> Now I would like to send message #m1 to the object behind oop. Can  
> the InterpreterProxy do that?

No, the interpreter is not reentrant.

What are you actually trying to accomplish? Possibly Andreas'  
callback support is what you need.

- Bert -





More information about the Squeak-dev mailing list