next up previous contents index
Next: SUBROUTINE RMCURSOR Up: Cursor Routines Previous: SUBROUTINE CURRECT

SUBROUTINE GETCURSOR

 GETCURSOR inquires the  Tektronix GIN device for the location pointed to by the GIN device. Return code is screen device dependent. This routine is does support all screen devices. When a device is not supported, the routine returns without doing anything. Screen device must be in the graphics mode. GETCURSOR assumes that the  GIN terminator is a CR (carriage return). Note: When using an Alpha key for the return status DO NOT use the <Return> key as this will prevent the correct reading of the returned data.

CALL GETCURSOR (x,y,k,rx,ry)

x,y (R): (returned) cross-hair location (in LONGLIB coordinates)
k   (I): (returned) GIN status code return (ascii code)
rx  (R): resolution of screen in x direction (returned)
ry  (R): resolution of screen in y direction (returned)



David Long
Wed Jun 12 10:34:11 MDT 1996