Path: utzoo!attcan!uunet!spool2.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!dali.cs.montana.edu!ogicse!pdxgate!parsely!percy!qiclab!m2xenix!news From: news@m2xenix.psg.com (Randy Bush) Newsgroups: comp.lang.modula2 Subject: Re: Nested routines as values? Message-ID: <1991Jan20.071235.11193@m2xenix.psg.com> Date: 20 Jan 91 07:12:35 GMT References: <1991Jan19.151918.2734@waikato.ac.nz> Organization: Pacific Systems Group, Portland Oregon US Lines: 18 ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes: > I heard a rumour from a colleague that the Modula-2 standards people were > considering allowing routines declared within other routines to be > passed as values of PROCEDURE types. Can anybody tell me if this is true? While it was considered, I believe that embellishment was forgone. > I think it's a good idea, unless it means that PROCEDURE values become > descriptors, instead of straight addresses. If that's the case, it's > going to make it very cumbersome to interface to non-Modula-2 code. And you even know why . So, unless you are willing to forgo access to intermediate lexic scopes or have proc vars be more than addresses ... -- ..!{uunet,qiclab,intelhf,bucket}!m2xenix!news