Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!inmet!rich From: rich@inmet.inmet.com Newsgroups: comp.lang.smalltalk Subject: Re: Smalltalk Implementation Summary Message-ID: <22600003@inmet> Date: 14 Dec 89 22:04:00 GMT References: <235311@<1989Dec6> Lines: 14 Nf-ID: #R:<1989Dec6:235311:inmet:22600003:000:305 Nf-From: inmet.inmet.com!rich Dec 14 17:04:00 1989 Is this legal in Smalltalk? I know blocks are not true lambda closures. Little Smalltalk generates an error when you execute the "test" method. test self getAblock value | getAblock ^ [ ^ 2 ] If the block that getAblock doesn't explicitly return, then it goes OK. Richard Man uunet!inmet!rich