Page 1 of 1

How to use the structure CursorPosition in setLocation

Posted: 27 Jan 2022 2:30
by VPExplorer
Hi,

I know these aren't simple parameters, as in

setLocation(Row, Column)

, but I don't know how to write the CursorPosition structure.

So if we wanted to position the cursor at (5, 10), how would we do that?

Thanks for your assistance so far, Thomas.

Re: How to use the structure CursorPosition in setLocation

Posted: 29 Jan 2022 1:34
by VPExplorer
Got it, from console.pro:

Code: Select all

setLocation(coord(5, 10))