Discussions related to Visual Prolog
VPExplorer
Active Member
Posts: 25
Joined: 6 Aug 2012 16:56

How to use the structure CursorPosition in setLocation

Unread post 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.
VPExplorer
Active Member
Posts: 25
Joined: 6 Aug 2012 16:56

Re: How to use the structure CursorPosition in setLocation

Unread post by VPExplorer »

Got it, from console.pro:

Code: Select all

setLocation(coord(5, 10))
Post Reply