Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!labrea!polya!hoelzle From: hoelzle@polya.Stanford.EDU (Urs Hoelzle) Newsgroups: comp.lang.modula2 Subject: Re: Are procedure types breaking modules? Keywords: procedure types, modules Message-ID: <8752@polya.Stanford.EDU> Date: 25 Apr 89 15:55:11 GMT References: <688@tuvie> <849@htsa.uucp> Sender: Urs Hoelzle Reply-To: hoelzle@polya.Stanford.EDU (Urs Hoelzle) Organization: Stanford University Lines: 8 >are not allowed. Why is it that you are not allowed to assign a >local procedure to a procedure variable ? If you assign a local procedure to a procedure variable and if this procedure accesses (local) variables of the enclosing procedure(s), you will get into trouble when calling it because the activation records of the enclosing procedures do not exist. -Urs