Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site mips.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!think!mit-eddie!genrad!decvax!decwrl!Glacier!mips!hansen From: hansen@mips.UUCP (Craig Hansen) Newsgroups: net.lang.c Subject: Re: Pascal question Message-ID: <128@mips.UUCP> Date: Wed, 24-Apr-85 17:26:49 EST Article-I.D.: mips.128 Posted: Wed Apr 24 17:26:49 1985 Date-Received: Sat, 27-Apr-85 01:26:47 EST References: <1617@ut-ngp.UUCP> <259@moncol.UUCP> <65@watmum.UUCP> <449@aicchi.UUCP> Organization: MIPS Computer Systems, Mountain View, CA Lines: 21 > The point all us "real" programmers are trying to make is , > don't go flamming off at the mouth at a really decent language (Pascal) > is you don't know what you are talking about. > > Pascal gives you a choice of either "call-by-name" or "call-by-value". > C forces you to use "call-by-value". Many C programmers try to simulate > call by name using pointers in the argument list. Pascal gives you the choices of 1) Call by value 2) Call by reference C lets you "use" 1) Call by value 2) Call by reference (using "&" constructs and pointers) 3) Call by name (using macros as function definitions) Call by name and call by reference are two very different things! Craig Hansen MIPS Computer Systems