Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decwrl.UUCP Path: utzoo!linus!decvax!decwrl!dec-rhea!dec-mrvax!ddb From: ddb@mrvax.DEC (DAVID DYER-BENNET MRO1-2/L14 DTN 231-4076) Newsgroups: net.lang Subject: C vs. Modula-2 Message-ID: <2185@decwrl.UUCP> Date: Sun, 1-Jul-84 20:27:02 EDT Article-I.D.: decwrl.2185 Posted: Sun Jul 1 20:27:02 1984 Date-Received: Tue, 3-Jul-84 00:29:01 EDT Sender: daemon@decwrl.UUCP Organization: DEC Engineering Network Lines: 10 Jerry Leichter's comment about being able to tell by looking at reference to a name whether its value may be implicitly or directly changed seems to have a hole in it. If I pass an array to a function by specifying the array name, a pointer to the array is passed, thus making it possible for the function to change the contents of the array. However, I have to remember that the object was declared as an array to realize this. It isn't explicit in the call syntax. -- David Dyer-Bennet -- {ihnp4|decvax|ucbvax|...}!decwrl!rhea!mrvax!ddb