摘要 |
PROBLEM TO BE SOLVED: To enable the discovery of an error in a constant name in created software.SOLUTION: A variable check method causes a program 19 created based on a data dictionary 17 defining variables 21 used in the program 19 and constant names 22 allocated to each of the variables 21 to execute: a constant-name extraction process 55 of extracting the variable 21 used in the program 19 and the constant names 22 used as values of the variable 21; a comparison process 56 of comparing the constant names 22 extracted by the constant-name extraction process 55 with the data dictionary 17 to determine "whether the constant name 22 that does not belong to the variable 21 is used"; and an alarm generation process 57 of producing an alarm if a comparison result of the comparison process 56 indicates that the constant name 22 does not correspond to the variable 21 and it is determined that the incorrect constant name 22 is used for the variable 21. |