[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSLog options
From: |
Niels Grewe |
Subject: |
Re: NSLog options |
Date: |
Mon, 06 Feb 2012 16:02:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 |
Hi,
Am 06.02.2012 15:32, schrieb Dick Seabrook:
> Thanks. Based on advice from Mr Frith-Macdonald I solved the problem
> by switching to fprintf(sysout,"..."). NSIntegers seem to work fine with
> fprintf's %i format but for %s I had to unpack the string objects with
> [<NSString variable> UTF8String ]. Output came out just fine.
> Dick S.
You should be able to objects as argument to a format string with "%@"
if you use GSPrintf().
Cheers,
Niels