_TRACE
- print text to system debug viewer

Miscellaneous functions
(AmiBroker 4.40)


SYNTAX _TRACE(''string'')
RETURNS NOTHING
FUNCTION Write 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 https://learn.microsoft.com/en-us/sysinternals/downloads/debugview 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 _TRACE("This is a test");
_TRACE("This is selected value of close: " + Close );
_TRACE("This is first element of close array: " + Close[ 0 ] );
SEE ALSO

References:

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

More information:

See updated/extended version on-line.