$#Argv in Csh

Hello all,

Had a quick question:

In a typical csh script should inputting via stdin (i.e. set i = $< ) increase the value of $#argv ?

echo enter an value:
set val= "$<"


if($#argv == 0) then
  echo No args

else
   echo The arg is $argv[1]

so if a value is inputted #argv shouldn't be zero? Thanks.

---------- Post updated at 11:32 PM ---------- Previous update was at 11:08 PM ----------

What changes the value of $#argv?

---------- Post updated at 11:41 PM ---------- Previous update was at 11:32 PM ----------

passing the value on the command line?

Csh Programming Considered Harmful