Hello Monica,
One common reason to want this functionality is for debug output. HostTraceOutputTL() can be used in conjunction with a utility to display the output. On the mac, I'm using Cocoa Palm Report(ie, http://sourceforge.net/projects/osx-palm-tools.)
Here are some TRACE macros from the pFuel application (http://sourceforge.net/projects/pfuel/).
#include <HostControl.h>
#define TRACE(...) HostTraceOutputTL(appErrorClass,__VA_ARGS__)
#else
#define TRACE(...) do{}while(0) // won't generate any code
#endifIf you're rational is different, please elaborate.
Sincerely,
John Kern Kern Computing
On Sep 29, 2004, at 7:03 AM, M�nica Olmos wrote:
Hi all,
Is possible write in console ?
Is there a function for write in console ?
For example "printf" in c or "System.out.println(data)" in Java
I'm using CodeWarrior 9.3
Thanks
--- Monica Olmos
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
