The READ_TABLE primitive enables you to read values from a table for use in your symbol definition. This process is called a table lookup. READ_TABLE returns output VALUES in columns 9-16, only if the INPUT values match the first eight OUTPUT values in the table.
table_name — the name of the table file. This file should be located in the win32app\pehvac\support\tables directory.
INPUT — the input array name. This numeric array is eight values long, and can be local or global. If there are fewer than eight INPUT values, make the character after the last value 0.
OUTPUT — the output array name. This numeric array is eight values long, and can be local or global. OUTPUT values are returned only if all the INPUT values are valid (the return code is set to 0).
return_code — table lookup return code. Possible values are:
-0 — table lookup successful.
-1 — no match found in table.
-2 — file not found in win32app\pehvac\support\tables directory.
table_len — currently not used by PE-HVAC. Set this variable to 0.