Path: utzoo!attcan!uunet!amdahl!ames!mailrus!cornell!uw-beaver!rice!titan!mootaz From: mootaz@titan.rice.edu (Elmootazbellah Nabil Elnozahy) Newsgroups: comp.lang.pascal Subject: An ISO Pascal question... Summary: Scope rules... Message-ID: <2824@kalliope.rice.edu> Date: 11 Mar 89 04:02:55 GMT References: <18654@adm.BRL.MIL> Sender: usenet@rice.edu Reply-To: mootaz@titan.rice.edu (Elmootazbellah Nabil Elnozahy) Organization: Rice University, Houston Lines: 23 Given the following piece of code, can anybody familiar with the ISO standard tell me if it is legal or not: Type T = real; R = Record T: integer; D: T; end; B = Record T: integer; C: Record D: T; end; end; In particular, is field D in record R of type T or is it an illegal definition? Similarly for field D in record C. I am not interested in what a particular implementation does, just what the standard says about it. Thanks in advance...