Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!killer!texbell!nuchat!sugar!dwight From: dwight@sugar.hackercorp.com (Dwight Everhart) Newsgroups: comp.lang.modula2 Subject: Re: Is this a compiler bug? Summary: It annoys me too Message-ID: <3579@sugar.hackercorp.com> Date: 4 Mar 89 18:04:17 GMT References: <1712@psu-cs.UUCP> <291@val.UUCP> Organization: Sugar Land Unix - Houston Lines: 19 In article <291@val.UUCP>, aubrey@val.UUCP (Aubrey McIntosh) writes: > The compilers I have used call CARDINAL() a function; they then get difficult > about not allowing assignments to function values. I spent a long time chasing > this one down. > > A similar one that bits me is: > VAR v1 : recPtr; > ... > recPtr( cardinalvariable ) ^ := expression > I still don't know why I can't dereference a pointer function type, but it > seems to be forbidden. These are the two aspects of M2 that annoy me the most, even though I love the language in general. -- Dwight Everhart | "Time is an illusion. dwight@sugar.uu.net | Lunchtime doubly so." {uunet,texbell}!sugar!dwight | -- Ford Prefect