•  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_choice()
vsin_mode()
vrq_choice()                                                            VDI

Syntax

VOID vrq_choice( handle, start, final )
WORD handle, start;
WORD *final;

Function      vrq_choice() accepts input from the 'choice' device in
              request mode.

Opcode        30

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 indicates
              the starting value for the choice device (1-???).
              final points to a WORD which will be filled in upon exit
              with the results of the request.

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

              intin[0] = start;

              vdi();

              *final = intout[0];

Comments      Input is sampled until a key is pressed.

See Also      vsm_choice(), vsin_mode()

Group         VDI Input