attach(3G)attach(3G)NAMEattach - attaches the cursor to two valuators
FORTRAN 77 SPECIFICATION
subroutine attach(vx, vy)
integer*4 vx, vy
PARAMETERS
vx expects the valuator device number for the device that controls the
horizontal location of the cursor. By default, vx is MOUSEX.
vy expects the valuator device number for the device that controls the
vertical location of the cursor. By default, vy is MOUSEY.
DESCRIPTIONattach attaches the cursor to the movement of two valuators. Both vx and
vy are valuator device numbers. (See Appendix A, Valuators, for a list
of device numbers.) The values at vx and vy determine the cursor
position in screen coordinates. Every time the values at vx or vy
change, the system redraws the cursor at the new coordinates.
SEE ALSO
noise, tie
NOTE
This routine is available only in immediate mode.
Page 1