On Jan 5, 2007, at 7:59 AM, Theodore H. Smith wrote:
In Cocoa, I can do something like this:
dim s as string
s = "file data"
s.WriteTo "/path/to/file.txt"
or actually
NSString *string = @"file data";
NSError *error;
BOOL ok = [string writeToFile:path atomically:YES
encoding:NSUnicodeStringEncoding error:&error];
if (!ok) {
//do something about it
}
:)
sdevore
a grumpy old fart
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>