Message:
At {location}, more than one interpretation for {code}
exemple:
At <orphee_cc>: 738-7, more than one interpretation for N_INSTR_APPEL_PROC: 26160: bfc_shrz
this error occurs when the tools can not determine the effective function/procedure/variable/… because there is more than one interpretation for it.
It is often a pb of missing parameters in the call of a procedure.
For example when translating an orphee bfc_shrz in unity, the following call can not be determined because the kind of the “rest” formal parameter is not known:
bfc_shrz(, id_30, int(12), li1, md_26848);
In this case, the kind of this “rest” parameter can be int or dint and the tool can not choose itself.
The pb can here be solved by creating a local variable in the glips file in order to force the use of the procedure that has a “rest” parameter of type dint:
declare
li1 : bool;
rest : dint;
begin
...
bfc_shrz(, id_30, int(12), li1, md_26848, rest);
Cette erreur apparait lorsque l'outil n'arrive pas à déterminer quelle fonction/procédure/variable/… est utilisée car il y a plus d'une interprétation possible.
Le problème vient souvent d'un manque de paramètre effectif lors de l'appel d'une procédure.
Par exemple, lorsque de la traduction du bfc_shrz d'orphee en unity, l'appel ci-dessous ne peut pas être résolu car le type du paramètre formel “rest” n'est pas connu pour cet appel :
bfc_shrz(, id_30, int(12), li1, md_26848);
Dans ce cas, le type du paramètre rest peut être int ou dint et comme aucun paramètre effectif n'est définit, l'outil ne peut pas choisir.
Le problème peut être résolu en créant une variable locale dans le fichier glips de façon à forcer l'utilisation de la procédure qui a un paramètre formel de type dint:
declare
li1 : bool;
rest : dint;
begin
...
bfc_shrz(, id_30, int(12), li1, md_26848, rest);