Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!tektronix!percival!parsely!agora!ihf1!bobd From: bobd@ihf1.UUCP (Bob Dietrich) Newsgroups: comp.lang.pascal Subject: Re: Reusing identifiers (was (re:)**3 function return value) Message-ID: <576@ihf1.UUCP> Date: 20 Mar 89 20:10:17 GMT References: <18654@adm.brl.mil> <134300005@cdp> <1765@csuna.csun.edu> Reply-To: bobd@ihf1.UUCP (Bob Dietrich) Organization: Intel Corp., Hillsboro, Oregon Lines: 17 In article <1765@csuna.csun.edu> abcscnuk@csuna.csun.edu (Naoto Kimura) writes: >Believe it or not, the following program really is a legal pascal >program. I originally wrote it to experiment with scoping of >identifiers. It should help illustrate the scoping rules. > > //-n-\\ Naoto Kimura > _____---=======---_____ (abcscnuk@csuna.csun.edu) While your program is an interesting illustration of the fact that required identifiers in Pascal are not keywords, it has little to do with scope. BTW, you might also make use of "forward" as an identifier; many processors incorrectly make it a keyword (or maybe you did, I may not have read closely enough). usenet: uunet!littlei!intelhf!ihf1!bobd Bob Dietrich or tektronix!ogccse!omepd!ihf1!bobd Intel Corp., Hillsboro, Oregon or tektronix!psu-cs!omepd!ihf1!bobd (503) 696-2092