•  Back 
  •  VDI Input 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevsm_valuator()
vsin_mode()
vrq_valuator()                                                          VDI

Syntax

VOID vrq_valuator( handle, start, *final, *term )
WORD handle, start;
WORD *final, *term;

Function      vrq_valuator() accepts for input from the valuator device
              until a terminating character is entered in request mode.

Opcode        29

Availability  This call is not guaranteed to be available with any driver
              and its use should therefore be restricted.

Parameters    handle specifies a valid workstation handle. start specifies
              the initial value of the valuator device (1-100). When
              a terminating character has been struck, the WORD pointed to
              by final will be filled in with the final value of the
              valuator and the WORD pointed to by term will be filled in
              with whatever ASCII character caused termination.

Binding       contrl[0] = 29;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = start;

              vdi();

              *final = intout[0];
              *term = intout[1];

Comments      The 'valuator' is typically the up and down arrow keys. Each
              key increments or decrements the value by 10 unless the
              shift key is held in which case it is incremented or
              decremented by 1.

See Also      vsm_valuator(), vsin_mode()

Group         VDI Input