154
• 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
fontarrayname 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 6 elements.
Each element data should be an integer and stored in the area from the 1st to 6th
elements of the array.
• Also when the small-size font or double-width is specified, user-defined fonts loaded by
the APLOAD will be effective. For those font patterns, refer to Chapter 7, Subsection
7.1.3, "Dot Patterns of Fonts" and Subsection 7.1.5, "Displaying User-defined
Characters."
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
cursorarrayname in the LOCATE statement in the single-byte ANK mode.
(LOCATE ,,255)
• The loaded user-defined cursors are effective during execution of the user program
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.
Kommentare zu diesen Handbüchern