•  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-Filevsin_mode()
vrq_choice()
vsm_choice()                                                            VDI

Syntax

WORD vsm_choice( handle, xout )
WORD handle;
WORD *xout;

Function      vsm_choice() returns the current value of the 'choice'
              device.

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.
              xout points to a WORD which is filled in on function exit
              with the current value of the choice device.

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

              vdi();

              *xout = intout[0];

              return contrl[4];

Return Value  vsm_choice() returns 1 if an input from the 'choice' device
              was made or 0 otherwise.

See Also      vsin_mode(), vrq_choice()

Group         VDI Input