include debug.inc Mono_Out_At Row, Column, String, nocrlf |
The Mono_Out_At macro calls the Set_Mono_Cur_Pos service to position the cursor, then calls the Out_Mono_String service to display the given string.
Row
Specifies the row in which to place the first character of the string.
Column
Specifies the column in which to place the first character of the string.
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_Mono_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.
This macro has no return value.
The assembler generates code for the macro only if the DEBUG constant is defined before including the DEBUG.INC file.
The following example writes a string starting at the position (10,10) on the secondary display device:
Mono_Out_At 10,10,"Element not found"