•  Back 
  •  VDI Alpha Escapes 
  •  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-Filevs_curaddress()
v_rvon()
v_rvoff()
v_curtext()                                                             VDI

Syntax

VOID v_curtext( handle, str )
WORD handle;
char *str;

Function      v_curtext() outputs a line of text to the screen in text
              mode.

Opcode        5

Sub-Opcode    12

Availability  Supported by all screen drivers.

Parameters    handle is a valid workstation handle. str is a character
              pointer to a string no more than 127 characters long.

Binding       WORD i = 0;

              while(intin[i++] = (WORD)*str++);

              intin[i] = 0;
              contrl[0] = 5;
              contrl[1] = 0;
              contrl[3] = --i;
              contrl[5] = 12;
              contrl[6] = handle;

              vdi();

Comments      The line of text must not exceed the maximum length of the
              intin array as returned by vq_extnd() or the maximum length
              of your compilers' array.

See Also      vs_curaddress(), v_rvon(), v_rvoff()

Group         VDI Alpha Escapes