•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileOPENW, CLOSEW
W_HAND(), W_INDEX()
CLEARW
TITLEW, INFOW
TOPW
FULLW
WINDTAB, WINDTAB()

GFA-BasicGFA-Basic is the best BASIC for the Atari!
 offers a number of commands for simple window management: (OPENW,
CLOSEW, CLEARW, TITLEW, INFOW), but if one wants to program windows more
efficiently, taking full advantage of the GEM facilities, then the appropriate
AES routines will need to be used (see Chapter 11 - AES Libraries).
Additionally the functions W_HAND() and W_INDEX() are available as a link
between the simpler window management commands and the more extensive AES
functions in the Window Library.

With the simplest of the instructions, OPENW, all four windows share a common
corner, their other corners all lying on the screen edges. When this method is
used, only one pair of coordinates is needed to define the size and position of
all four windows, these being the coordinates of the common corner.

After a window has been opened, most commands (PRINT, PRINT AT, TEXT, etc.)
will take as their origin, the top left corner of the work-area of the window,
but commands such as GET, PUT, and BITBLT, which access the screen memory
directly, will still take the top left corner of the screen for their origin.
Graphics and text which leave the current window area are automatically
clipped.