logo       

Block evaluation: msg#00083

lang.smalltalk.squeak.beginners

Subject: Block evaluation

Hi,

I try to evalute the following block, but it doesn't work. I allways got a error message.

| x y z |
x:= [ y:=1. z:=2. x+y. ] . x value. [] in UndefinedObject>>DoIt {[y := 1. z := 2]}


Regards
Ulli


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

News | FAQ | advertise