ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Nov/Nosubject

This is Nosubject in view mode; [Up]


Date: Sun 25-Nov-1989 05:21:33 From: Unknown Subject: (none) Hi, I am still having trouble running my program under 1.0. I keep hitting a run time error like the following: Unable to find method implementation. Class mycalss, Selector 99999999 ^^^^^^^^ a very big number, looks like something was trashed. I did not see anything like this under 0.9. What I am doing is nothing more than let two objects talk like this: Object1 of class CLASS1 sends a message to object2 of class CLASS2 when object1 is hit by rightMouseDown. Then object2 send a reply message back to object1... I defined the classes like this: @interface CLASS1:Object {...} +new; /* all instance methods follows */ @end @implementation CLASS1 +new; { ... if (sender==self) { object2 = [[sender pipe] doCopy]; /* [sender pipe] returns the object of CLASS2 */ [object2 doSomething]; } ... } and in CLASS2: @implementation CLASS2:object {... } - doSomething:sender { [self prepare]; ^^^^^^^^^^^^^ <-- error message comes up although I have prepare defined and declared. ...} - prepare { [self doThis]; [self doThat]; .... } What I am doing wrong? Any suggestions? Thank you! --yufeng tsui@silver.bacs.indiana.edu (129.79.1.6) >From: manzara@cpsc.ucalgary.ca (Leonard Manzara)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.