getval(3G)
getval - returns the current state of a valuator
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME getval - returns the current state of a valuator FORTRAN 77 SPECIFICATION integer*4 function getval(dev) integer*4 dev PARAMETERS dev expects the identifier of the device (e.g., MOUSEX, BPADX, etc.) from which you want to read. FUNCTION RETURN VALUE The returned value of this function is the value stored at the device named by the dev parameter. DESCRIPTION getval returns the current value (an integer) of the valuator dev. SEE ALSO getbut, getdev, qdevic, tie NOTE This routine is available only in immediate mode.