setval(3G)

setval - assigns an initial value and a range to a valuator

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     setval - assigns an initial value and a range to a valuator

FORTRAN 77 SPECIFICATION
     subroutine setval(v, init, vmin, vmax)
     integer*4 v, init, vmin, vmax

PARAMETERS
     v      expects the device number for the valuator being set.

     init   expects the initial value to be assigned to the valuator.

     vmin   expects the minimum value that the device can assume.

     vmax   expects the maximum value that the device can assume.

DESCRIPTION
     setval sets the initial value and the minimum and maximum values the
     specified device can assume.  All arguments are 16-bit values.

     Some devices, such as tablets, report values fixed to a grid.  In this
     case, the device defines an initial position and init is ignored.

SEE ALSO
     getval

NOTE
     This routine is available only in immediate mode.