Article View: comp.lang.modula2
Article #4694Re: Is this a compiler bug?
From: Dwight Everhart
Date: Sat, 04 Mar 1989 18:04
Date: Sat, 04 Mar 1989 18:04
19 lines
1202 bytes
1202 bytes
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
Technical Details
Message-ID:
<3579@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!killer!texbell!nuchat!sugar!dwightReferences:
<1712@psu-cs.UUCP> <291@val.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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