home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
sampl254.zip
/
gcc2
/
samples
/
sample5
/
Float.m
< prev
next >
Wrap
Text File
|
1993-11-07
|
285b
|
24 lines
#import <stdio.h>
#import "Float.h"
@implementation Float
{
float value;
}
- init: (float) x
{
[super init]; // In case the parent class is doing
// something special in its init...
value = x;
return self;
}
- report
{
printf("%4.1f", value);
return self;
}
@end