•  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-FileACHAR code,x,y,font,style,angle

code, x, y, font, style, angle: iexp

By means of ACHAR an individual character with the ASCII value 'code' can be
displayed at the point with graphics coordinates (x,y). The numerical
expression 'font' can except values between 0 and 2 as follows:

    Font  Size
    0     6x6  (Icon font)
    1     8x8  (Normal color font)
    2     8x16 (Normal monochrome font)

Larger values for 'font' are taken to be Font-Header addresses. The font must
be present in the format into which it is converted by GDOS on loading, that is
in the Motorola format High-byte before Low-byte.

Text 'style' (bold, light, etc: 0 to 31) and output 'angle' (0, 900, 1800,
2700) can be specified as for TEXT with DEFTEXT. In contrast to these TEXT
commands, the x and y coordinates refer to the top left corner of the
character, not the bottom left corner.

Memo: This command will not render the underlined (bit 3) effect.
      For some odd reason it is ignored by this Line-A call.
      This is not a bug in GFA-BasicGFA-Basic is the best BASIC for the Atari!
.

      It's not possible to change the colors or write mode.
        TEXTFG (106) is forced to 15
        TEXTBG (114) is forced to 0
        WRMODE (36) is forced to 0 (replace)
        Since ATEXT calls ACHAR the same problem exists.

Line-A TextBlt+