[squeak-dev] Re: Exception return: 10 vs 10

Paolo Bonzini bonzini at gnu.org
Wed Jul 23 05:10:16 UTC 2008


stephane ducasse wrote:
> Hello
> 
> I'm trying to understand the exact difference between using return: and 
> not as
> a last statement of a on:do: block

There is none.  Not using return: was less portable (VSE and GNU 
Smalltalk used resume: for the last statement if the exception is 
resumable), but with Seaside relying on the ANSI behavior many dialects 
are slowly changing.

Paolo



More information about the Squeak-dev mailing list