#import "CalcObject.h"

@implementation CalcObject

- (void)awakeFromNib
// This is one of the last methods executed after the nib file is loaded.
// This is the Best way to initialize an object and jump into
// a method after the nib file was loaded.
{

        [first selectText:self];
        NSBeep();
}



- (void)CALC:(id)sender
{

    	// Declare Variables
    	float totalvalue;

        // Perform Calculations
  	totalvalue = ([first floatValue]*[second floatValue]);

        // Display Results
  	[third setFloatValue:totalvalue];
    
}

@end
