Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!topaz!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang.c Subject: Re: Gosub Message-ID: <620@bentley.UUCP> Date: Mon, 10-Mar-86 21:37:56 EST Article-I.D.: bentley.620 Posted: Mon Mar 10 21:37:56 1986 Date-Received: Wed, 12-Mar-86 21:49:52 EST References: <1511@brl-smoke.ARPA>, <1201@ulysses.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 11 In article <1511@brl-smoke.ARPA> cotrell@nbs writes: >>To answer a somewhat different question, while I am opposed to [gosub] >>in C ... I would very much like to see this in shell command files. >>... I feel that the overhead of opening another file and the >>difficulty of passing back results (`cmd args` is limited) justifies it. and in article <1201@ulysses.UUCP> ulysses!ggs answers: >Sorry jim, we're ahead of you. It's called "function"... Now if only shell function calls didn't destroy the $* variable, they might be useful.