llh@beaver.inel.gov (L. Linn Hower) (02/23/89)
I am a novice NeWS programmer and am having trouble understanding
the programming concepts I see used in Sun's liteitem.ps. My question
concerns the use of `self send' in a method of a subclass. Sometimes
this construct is used and sometimes the method is just executed directly.
What are the differences?
Specifically, I cannot see the difference between:
/method0 { ... } def
/method1 { /method0 self send } def
or
/method0 { ... } def
/method1 { method0 } def
What happens different when a /method1 subclass send is executed? Don't
they both start looking for method0 with the dictstack in the same state?
I can't cause any differences in the test cases I have generated. What
am I missing?
Thanks...
Linn
--
Linn Hower lh1@INEL.GOV Phone: 208-526-9353
at the Idaho National Engineering Laboratory, Idaho Falls, ID