[I6] get_cursor

I can put the cursor to any position using @set_cursor x y. But how does @get_cursor work? I would like to put the cursor one line up so I thought I could determine the current cursor position and decrement y by 1. The manual talks about @get_cursor returning an array. What do I have to do?

You pass one argument, which is an address. After “@get_cursor arg”, you’ll have the Y value in arg–>0 and the X value in arg–>1.

This is only likely to do you any good in the status window, unless you’re working in Z-machine V6.

Andrew, quite frankly, I have no idea why the Catholic church has omitted you so far when beatifying people. Thanks once more!

It’s awkward drawing up the paperwork for a Jewish atheist.