•  Back 
  •  Input functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.7.19  vrq_string                                                 TOS

 Name:         »Input string, Request mode« - Read in a string in 
               REQUEST mode.

 Opcode:       31

 Syntax:       void vrq_string ( int16_t handle, int16_t max_length, 
               int16_t echo_mode, int16_t *echo_xy, int8_t *string );

 Description:  The call vrq_string reads a string from the 'string' 
               device (normally the keyboard) in REQUEST mode into a 
               buffer, with an optional echo to the screen. The 
               following apply:

                Parameter  Meaning

                handle     Workstation identifier
                max_length Maximum string length
                echo_mode  Mode:
                            0 =     No echo
                            1 =     Echo input characters to specified 
                                    position
                echo_xy[0] X-coordinate, and
                echo_xy[1] Y-coordinate of echo area
                string     Address of character string

               The echo output is not available on all devices; the 
               text attributes will be paid regard to.

               If max_length is negative, the absolute value is 
               considered to be the maximum length and scancodes are 
               returned instead of ASCII values.

               Note: The input functions of the VDI work only on the 
               physical workstation, which is normally used by the 
               AES.

 Return value: The function does not return a result.

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

 Group:        Input functions

 See Also:     Binding   vswr_mode   vs_color   vst_alignment 
               vst_height   vst_point   vst_rotation   vst_font 
               vst_color   vst_effects   vsm_string