_TRACEF
- print formatted text to system debug viewer

Miscellaneous functions
(AFL 4.0)


SYNTAX _TRACEF(''format string'', arg1, .... )
RETURNS NOTHING
FUNCTION This function is the same as _TRACE but the very first argument is printf-style formatting string and it allows to output formatted numbers like combination of _TRACE and StrFormat.

The function writes debug messages from AFL code to system debug viewer (it calls internally OutputDebugString Win API function) or to internal Log window (Window->Log)

To view debug messages sent to system debugger you have to run DebugView freeware program from http://www.sysinternals.com/Utilities/DebugView.html

To view messages sent to internal log window you need to display log window (Window->Log menu)

Note for internal viewer: you can specify _TRACE("!CLEAR!"); to clear internal log window

EXAMPLE _TRACEF("Close price is = %g", Close );
SEE ALSO _TRACE() function

References:

The _TRACEF function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference