Gosub

KW Heuer kwh at bentley.UUCP
Tue Mar 11 12:37:56 AEST 1986


In article <1511 at brl-smoke.ARPA> cotrell at 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 at 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.



More information about the Comp.lang.c mailing list