(grtext [flag text])
Write text on the status line.
This function allows you to put text in the status line or the coordinate status area. The flag determines where the text is placed:
| Flag | Meaning |
|---|---|
| -1 | Status Line |
| -2 | Coordinate Status Line |
The text is a string. If the string is too long for the space provided, it is truncated.
If coordinate status is turned on (the Coords command is set to 1 or 2), the text previously entered into this field is overwritten with new coordinates as soon as the mouse is moved.
You can use the grtext function without any arguments to remove the text from the coordinate status line field when COORDS is turned off or from the status line field.
Examples
| Code | Returns |
|---|---|
| (grtext -2 "This is mode -2") |
This is mode -2 Places text in coordinate area. |
| (grtext) |
nil Clears text from status line |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español