Waldek Hebisch wrote:
Do we really need qualified identifiers here? (BTW, by QI I normally mean InterfaceName.RoutineName which makes no sense here. I suppose you mean ObjectType.MethodName.) Do other compilers support them? AIUI, Peter Schorn tried them only because GPC didn't support plain method names.
I have added them mostly for consistency -- since such names are legal in other contexts forbiding them here would create irregularity. They add a little extra functionlity: if the method name is shadowed qualified name still can reach the method.
OTOH, I consider it a deprecated feature as it has all the disadvantages of a nonlocal goto, both WRT implementation and program readability, so I'm not sure we should add functionality except what's required for compatibility. (Without it, it's not really a serious limitation, as one can always rename local subroutines without global effects.) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8