Path: utzoo!mnetor!uunet!husc6!hao!boulder!michael@boulder.Colorado.EDU From: michael@boulder.Colorado.EDU (Michael Schmidt) Newsgroups: comp.lang.misc Subject: Re: Displays (Was: Var scoping in Wirth-type languages) Message-ID: <4875@sigi.Colorado.EDU> Date: 16 Mar 88 17:36:01 GMT References: <3821@ihlpf.ATT.COM> <2791@enea.se> <3949@ihlpf.ATT.COM> <7562@sol.ARPA> <4426@june.cs.washington.edu> <7629@sol.ARPA> <4808@sigi.Colorado.EDU> <11151@santra.UUCP> Sender: news@sigi.Colorado.EDU Reply-To: michael@boulder.Colorado.EDU (Michael Schmidt) Organization: Uni-GH Paderborn, FB17/Informatik Lines: 16 In-reply-to: news@santra.UUCP (news) Posting-Front-End: Gnews 1.1 In article <11151@santra.UUCP>, news@santra (news) writes: >You are right, this can't be done with a display. But as the >subject line says "Wirth-type languages" I can't resist mentioning >that this has been "fixed" :-) in Modula-2. Quoting from "Programming in >Modula-2" (2.ed, p. 79): "... procedures that are assigned to variables >or are passed as parameters, must not be declared local to any >procedure." Yeah, Modula-2 is the way, of course. Unfortunately, there exists a language named 'pascal', which is considered to be "Wirth-type", too. -- Michael Schmidt, Universitaet-GH Paderborn, FB 17, Warburger Str.100, D-4790 Paderborn, West Germany z.Zt.: University of Colorado, Boulder Mail: michael@boulder.UUCP or michael@boulder.Colorado.EDU