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-FileALINE x1,y1,x2,y2,f,ls,m x1, y1, x2, y2, f, ls, m: iexp ALINE corresponds to the command LINE, where (x1,y1) and (x2,y2) are the coordinates of the end points of the line. The expression f contains the color, which, depending on the current screen resolution, takes values from 0 to 15. 'ls' contains 16 bits of information for the desired style of line (solid, dashed, dotted, etc.). Each set bit corresponds to one point to be plotted. The parameter m determines the graphic mode and can take values from 0 to 3: m Mode 0 Replace 1 Transparent 2 Xor 3 Reverse Transparent Example: ym%=INT{L~A-4}-1 FOR i%=0 to 255 style%=256*i%+i% ALINE i%,0,i%,ym%,1,style%,0 NEXT i% --> Draws vertical lines of varying dottedness extending from the top to the bottom of the screen. The term INT{L~A-4} returns the maximum y coordinate of the screen, this being stored four bytes before the beginning of the Line-A Variable Table (which starts at the address L~A). Line-A Arbitrary Line+