Path: utzoo!mnetor!uunet!husc6!mailrus!umix!nancy!eecae!super.upenn.edu!dsl.cis.upenn.edu!catone From: catone@dsl.cis.upenn.edu (Tony Catone) Newsgroups: comp.lang.pascal Subject: Re: Variable declarations & initializations Message-ID: <4565@super.upenn.edu> Date: 9 May 88 00:35:40 GMT References: <13440@brl-adm.ARPA> <5137@bloom-beacon.MIT.EDU> Sender: news@super.upenn.edu Reply-To: catone@dsl.cis.upenn.edu.UUCP (Tony Catone) Organization: University of Pennsylvania Lines: 17 In article <5137@bloom-beacon.MIT.EDU> jik@athena.mit.edu (Jonathan I. Kamens) writes: > >I may be putting my foot in my mouth here, but as far as I know, >standard pascal does not allow initialization of variables upon >declaration. There may be implementations that allow it, but that's a >pretty far-reaching straying from the standard, even worse than >Turbo-Pascal's constant arrays and constant records. I assume your last comment refers to Turbo's typed constant construct. Since "typed constant" is really a misnomer for initialized variable (ignoring the fact that typed constants reside in your code rather than your data segment), what distinction are you making between Turbo's strategy and that of other implementations? - Tony catone@dsl.cis.upenn.edu catone@wharton.upenn.edu