21 Mar
2001
21 Mar
'01
8:40 p.m.
Hello Folks! Got the following bug today: type ... tPruzzel = object Procedure amazooka ( proe: pProe ); end (* tPruzzel *); ... tPruzzel.amazooka ( p: pProe ); begin (* tPruzzel.amazooka *) --> if p = nil then ... end (* tPruzzel.amazooka *); The "-->" marked line yields a compiler error: "undefined identifier 'p'". To avoid it, the variable _identifier_ in interface and implementation must be the same. I don't know, if this case intentionally yields an error; anyway, I think it should be a "header does not match", not an "undefined identifier". The latter one's confusing. Yours Markus