Specifications

Chapter 14. Statement Reference
170
If you issue more than one
APLOAD statement specifying a same character code,
the last statement takes effect.
Only when the Interpreter executes the
APLOAD statement, it refers to the array
data defined by
fontarrayname. So, once a user program has finished load-
ing the user font, changing the data in the array or deleting the array itself (by the
ERASE statement) will not affect the already loaded user font.
An array integer variable--a work array, register array, or common array--for fon-
tarrayname
should be declared by the DIM, DEFREG, or COMMON statement,
respectively.
DIM cp0%(11)
DEFREG cp1%(11)
COMMON cp2%(11)
The array variable should be one-dimensional and have at least 12 elements.
Each element data should be an integer and stored in the area from the 1st to
12th elements of the array.
Also when the double-width, double-height, or quadruple-size is specified, user-
defined fonts loaded by the
APLOAD will be effective. The system will enlarge the
dot pattern of each loaded font in double-width, double-height, or quadruple-size.
For details, refer to Chapter 7, Subsection 7.1.3, "Dot Patterns of Fonts."
Loading a user-defined cursor
APLOAD loads a user-defined cursor data defined by cursorarrayname to the
user font area specified by characode.
To display a user-defined cursor loaded by the APLOAD, you set 255 to the cur-
sorswitch
in the LOCATE statement in the single-byte ANK mode. (LOCATE
,,255
)
The loaded user-defined cursors are effective during execution of the user pro-
gram which loaded those cursors and during execution of the successive user
programs chained by the
CHAIN statement.
Only when the Interpreter executes the APLOAD statement, it refers to the array
data defined by
cursorarrayname. So, once a user program has finished
loading the user cursor, changing the data in the array or deleting the array itself
(by the
ERASE statement) will not affect the already loaded user cursor.