The language definition states:
That would seem to rule this out as legitimate code:The use of the procedure identifier in a call within its declaration implies recursive activation of the
procedure.
Code: Select all
PROCEDURE P;
PROCEDURE P; END P; (*local*)
BEGIN P (*which P does this refer to?*)
END P;
Do you agree? (I won't keep posting questions like this!)
Regards