Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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