[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

Re: A Macro for Steppers

> From eric@son-of-blob Sun Dec 10 16:51:26 1989
> A problem arises when the action in the Stepper loop involves a return
> from the embodying function.  The execution scopes of X++ and Smalltalk
> differ somewhat here:  A return in the X++ macro will return from the
> function that uses the macro, whereas a return in the block in Smalltalk
> would just return from the block, but not the calling method.  HughH is
> suspicious that a solution exists for this problem, but we don't have it
> yet. (Dean?)

That makes the smalltalk "return" equivalent to the c(++) "break".