Specifications
36
• Map for user-defined functions
Shows the symbols of user-defined functions in the Interpreter which are arranged
according to their types (i.e., integer, real, and string types). If no user-defined functions
are used, this item will not be outputted.
• Map for variables and object codes
Shows the addresses of variables and object codes in a user program. The PRC indi-
cates the program allocation information area, the REG indicates the register variables
area, and the PRD indicates the program reserved area.
• Details of object codes
Shows the allocation information of objects in a user program. The [Filename] lists the
names of object files configuring a user program. The [Offset] lists the heading
addresses of individual object files in 4-digit hexadecimal form. The [Size] lists the sizes
of individual object files in 4-digit hexadecimal form.
[ 6 ] Calculating the address for a statement causing a run-time error
If a run-time error occurs, the Compiler returns the address (ERL=XXXX) assigned starting
from the head of the user program. When building a user program out of multiple object files,
therefore, you need to calculate an address of a statement in an object file causing a run-time
error according to the procedure given below.
(1) In the Set Options dialog box, select the Address-source List check box of the Compiling
Options and the Mapfile check box of the Linking Options beforehand.
(2) Build a user program out of object files so as to output the address-source list file (source
filename.LST) and the mapfile (project name.MAP).
(3) In the "details of object codes" item, retrieve an object file containing the address
(ERL=XXXX) assigned to a statement causing a run-time error.
(4) In the Address-source List file of the retrieved object file, retrieve the address for the
statement causing a run-time error.
Subtract the heading address of the object file from the address of the statement causing
a run-time error, and you can obtain where a run-time error has occurred.