mdtWrite (Function) |
Top Previous Next |
This function writes a text message on the display at the current write position. If a text message tries to print past the display limits, the remaining text is ignored and the current write position remains at the end of the line.
It is possible to add certain attributes to the text printed in the display by using the following control sequences:
Once the text attribute is started, all text printed will be affected until it is stopped.
Note: If the string passed to mdtWrite contains the "$" character, it must be duplicated ("$$") to avoid interference with the low-level communication protocol used between the RTCU and MDT. Please further observe the restrictions when using the "$" characters in strings. Failing to observe these precautions may result in the write operation failing.
Input: message : STRING Text string to print.
Returns: INT
Declaration: FUNCTION mdtWrite : INT;
Example: INCLUDE rtcu.inc |