Draw Text At A Location

Drawing Text At A Location

To draw text at a specific place you have to use the locate(x,y) function.
This function is decieving because it's not actually the x and y. It's really column,row.
By default the screen is 40 columns across and 25 rows vertically, but this can be changed using the ResizeText() function.
In this example we'll be using the default.


printr "(0,0)"
locate 20,12
printr "(20,12)"
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.