Program linkage method for using dummy arguments to link program having hierarchical structure
AssigneeNEC Corporation
InventorsToshikazu Takada, Yuji Mochizuki
Life of this patent
Estimating the term…
Abstract
A program linkage method comprising a step for allocating an array work area used by a low-order subprogram and an area for a table used to manage said array work area in a one-dimensional array developed for the main program of a program having hierarchical structure, a step for cataloging information used to identify said array work area to said table, and a step for retrieving information cataloged in said table for identifying said array work area used by said low-order subprogram and for passing said information as a dummy argument to said low-order subprogram.
Claims9
A program linkage method comprising the steps of:
- a step for allocating an array work area used by a low-order subprogram and an area for a table used to manage said array work area in a one-dimensional array developed for the main program of a program having hierarchical structure;
- a step for cataloging information used to identify said array work area to said table;
- and
- a step for retrieving information cataloged in said table for identifying said array work area used by said low-order subprogram and for passing said information as a dummy argument to said low-order subprogram.
A program linkage method comprising the step of:
- a step for allocating an array work area used by a low-order subprogram and an area for a table used to manage said array work area in a one-dimensional array developed for the main program of a program having hierarchical structure;
- a step for judging whether to first use said array work area for a certain subprogram;
- a step in which a high-order main program or subprogram catalogs the variable names and types of variables in said array work area to be used, and the size of said array work area immediately before calling a subprogram using said array work area when said array work area is used first, and determines the relative address of the start position of said array work area in said one-dimensional array and catalogs said relative address under an array name;
- a step for retrieving the relative address and size of the start position of said array work area according to said array name of said array work area if said array work area to be used has already been used by another subprogram;
- and
- a step for passing the relative address and size of the start position of said array work area cataloged in said table, or the relative address and size of the start position of said array work area retrieved from said table as a dummy argument to a low-order program using said array work area.
Dependencies are inferred from the claim text.