User primitives in Squeak
Andreas Raab
raab at isgnw.cs.Uni-Magdeburg.DE
Mon Dec 22 22:54:30 UTC 1997
Ian,
> > 1) User primitive fail code doesn't seem to work.
> >
> > myMethod
> > <primitive: 1500>
> > ^'hello there!'
> >
> > If the primitive fails, I get the usual <error: primitiveFailed>
> > instead of hello there.
>
> A bug -- I'll look into it.
The problem is that you pop the arguments before doing the function call.
If it fails you don't have any args on the stack left ;-)
Sorry for being that brief and not attaching the fix - I have a *very*
slow connection here.
Andreas
--
Linear algebra is your friend - Trigonometry is your enemy.
+===== Andreas Raab ============= (raab at isg.cs.uni-magdeburg.de) =====+
I Department of Simulation and Graphics Phone: +49 391 671 8065 I
I University of Magdeburg, Germany Fax: +49 391 671 1164 I
+=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
More information about the Squeak-dev
mailing list
|