|
Re: Block evaluation: msg#00085lang.smalltalk.squeak.beginners
Il giorno lun, 18/12/2006 alle 01.04 +0100, Ulrich Hermann ha scritto: > 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]} That is not an error message, it's just what get's print out when you do a PrintIt of the the first expression. Try doing a PrintIt of both expressions, and you should get the right result. Giovanni
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Block evaluation, Ulrich Hermann |
|---|---|
| Next by Date: | Re: Transfering scripts (was: Stop a script for a second), Randy Goldenberg |
| Previous by Thread: | Re: Block evaluation, Ulrich Hermann |
| Next by Thread: | Re: Block evaluation, Jerome Peace |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |