•  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-Filev_curtext()
vq_chcells()                                                            VDI

Syntax

VOID vq_chcells( handle, rows, columns )
WORD handle;
WORD *rows, *columns;

Function      vq_chcells() returns the current number of columns and rows
              on the alpha text mode of the device.

Opcode        5

Sub-Opcode    1

Availability  Supported by all screen and printer drivers.

Parameters    handle specifies a valid workstation handle. rows and
              columns each point to a WORD which will be filled in with
              the current number of rows and columns of the device
              (in text mode).

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

              vdi();

              *rows = intout[0];
              *columns = intout[1];

See Also      v_curtext()

Group         VDI Alpha Escapes