MSRS002@ECNCDC.BITNET ("THE DOCTOR.") (10/10/87)
Wille@ifi.ethz.ch might note that the assignment P := C appears within the scope of the procedure C. The question was, should this be allowed. A Apparently Dr. Wirth decided it should not, I haven't seen my copy of the third edition for some time now. Forcing any assignment statement to assign a procedure which was defined at level 0 would certainly remedy this problem. Let's try to keep this conversation above the level of "Do you really think that question makes any sense?" A much more appropriate reply might be something like, "The compiler should restrict such assignments to level 0 procedures." Tom Ruby MSRS002@ECNCDC