home *** CD-ROM | disk | FTP | other *** search
-
- #import "MyObject.h"
-
- @implementation MyObject
-
- - CALC:sender
- {
- float firstvalue;
- float secondvalue;
- float totalvalue;
-
- totalvalue = ([first floatValue]*[second floatValue]);
-
- [third setFloatValue:totalvalue];
-
-
- return self;
- }
-
-
- @end
-