This is One.m in view mode; [Download] [Up]
//
// One
//
// A subclass of Node which is always the constant 1, no matter what
// its size.
//
#import "One.h"
@implementation One
- initNumBits:(int)nbits
{
[super initNumBits:nbits];
data[0] = 1; // Least significant bit = 1;
return self;
}
@end
//
// End of file.
//These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.