@@ -1024,6 +1024,18 @@ num = newnum; } return num; } + +- (void)writeToFile: (OFString*)path +{ + OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; + OFFile *file; + + file = [OFFile fileWithPath: path + mode: @"wb"]; + [file writeString: self]; + + [pool release]; +} @end