ProvideX V8.20 > Language Reference > 5. Mnemonics
609
'GD' Mnemonic
        Define Graphics Character Set
Definition
Description
Use the 'GD' mnemonic to define the 11 characters that can be used for text mode
line-drawing operations. The standard line-drawing characters are A-K (and for
compatibility 0-9 and colon) as defined below:
G or :
A or 2
Top left corner.
Cross hairs.
H or 6
B or 3
Top right corner.
Vertical with horizontal right.
I or 7
C or 4
Bottom left corner.
Vertical with horizontal left.
D or 5
J or 8
Bottom right corner.
Horizontal with vertical up.
E or 0
K or 9
Horizontal line.
Horizontal with vertical down.
F or 1
Vertical line.
Each character consists of up to four lines (each line represented by a bit in the byte
defined by 'GD'); i.e.,
$01$ - Horizontal line centered top to bottom in left half of cell.
$02$ - Vertical line centered left-right in top half of cell.
$04$ - Horizontal line centered top to bottom in right half of cell.
$08$ - Vertical line centered left-right in bottom half of cell.
If 'GD' is not defined for the output, then $0C090603050A0F0E0B070D$ is the
default. This conforms to the standard graphical character outputs as defined in the
table above. The mnemonics 'GS' and 'GE' will not (and should not) be defined. If an
output character is not defined by the 'GD' mnemonic, the cross hairs will be used.
For additional information regarding the use of special mnemonics (i.e., '@@', '*C', '*I',
'*O', '*R', '*X', 'AT', 'GD', 'WX') when creating a device driver, see Dynamic Information
in Mnemonics, p.578 or Device Drivers in the ProvideX User's Guide.
Examples
MNEMONIC(FIL_NO)'GD'=$C9BBC8BCCDBACECCB9CACB$ ! For double-line graphics
MNEMONIC(FIL_NO)'GD'=$DABFC0D9C4B3C5C3B4C1C2$ ! For single-line graphics
'GE' Mnemonic
    End Graphics Data
GUI Display/Printer or Character Display
Description
Use 'GE' to end graphics data transmission. This is the opposite of the 'GS'
Mnemonic, p.611.