Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Trace_Out
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include debug.inc
 
Trace_Out String, nocrlf
 
The Trace_Out macro calls the Out_Debug_String service to display the given
string.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
String     Specifies the string to display. The string must be enclosed in
           double quotation marks. The string can contain register
           placeholders in the same forms as described for the
           Out_Debug_String service.
 
nocrlf     Specifies whether the macro should not append a newline and
           carriage return character combination to the end of the string.
           If the parameter is not given, the macro appends the character
           combination by default.
 
Return Value
 
This macro has no return value.
 
Comments
 
The assembler generates code for the macro only if the constant DEBUG is
defined before including the DEBUG.INC file.
 
Example
 
The following example writes a string to the debugging device:
 
Trace_Out "Element not found"
 
The following example writes a string containing the value of the AX
register to the debugging device:
 
Trace_Out "AX value is #AX"
 
See Also
 
Out_Debug_String