CS656@OUACCVMB.BITNET (02/28/88)
I've just started using a C shell (MANX C656-c) and was amazed at the ability to not only run a command or program by typing its name but if I were to includ e some parameters on the same line they were used. For instance ln /ram/write.o /ram/ln/c.lib To link the file write.o but tell the linker to use the c.lib library in /RAM/LN. Here's my stupid question of the week. Is this what is referred to as "argument passing"?
paulb@ttidca.TTI.COM (Paul Blumstein) (03/04/88)
In article <8802290741.aa28371@SMOKE.BRL.ARPA> CS656@OUACCVMB.BITNET writes: >I've just started using a C shell (MANX C656-c) and was amazed at the ability >to not only run a command or program by typing its name but if I were to includ >e some parameters on the same line they were used. For instance >ln /ram/write.o /ram/ln/c.lib >To link the file write.o but tell the linker to use the c.lib library in >/RAM/LN. >Here's my stupid question of the week. Is this what is referred to as >"argument passing"? Yes & no. No because it is really parameter passing. Yes because C-shell "calls" a main program and passes the program's parameters as arguments. Just like UNIX! ============================================================================= Paul Blumstein | Oh my, the penguin on top of my terminal Citicorp/TTI | just exploded! Santa Monica, CA +------------------------------------------------- {philabs,trwrb,csun,psivax}!ttidca!paulb or paulb@ttidca.TTI.COM DISCLAIMER: My company automatically disagrees with everything I say.