From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ee195735ac5bf6f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1993-03-07 17:16:39 PST Newsgroups: comp.lang.ada Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!agate!linus!linus.mitre.org!linus!mbunix!emery From: emery@dr_no.mitre.org (David Emery) Subject: Re: Function call or variable? In-Reply-To: alex@cs.umd.edu's message of 7 Mar 93 20:27:06 GMT Message-ID: Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: dr-no.mitre.org Organization: The Mitre Corp., Bedford, MA. References: <9303051531.aa21226@Paris.ics.uci.edu> <64872@mimsy.umd.edu> Date: Mon, 8 Mar 1993 00:34:42 GMT Date: 1993-03-08T00:34:42+00:00 List-Id: You can always assign _to_ the variable. More importantly, you cannot tell the difference between a function and a *constant*. After all, the semantics of enumeration literals (for instance) is that they are parameterless functions that return a value of the enumeration type. dave