Quote:
Originally Posted by haze21
What am I doing wrong with this foreach loop?
foreach var ($argv)
@sum = $sum + $var
|
Please Dont post a new post unless until it is a new item , I think you posted this problem earlier, It will be easy if you will send it in the same link ..
Otherwise nobody is going to understand what is this
Code:
foreach var ($argv)
@sum = $sum + $var[/QUOTE]
its a csh script or ksh script or sh script you are trying .. SO please see your last thread regarding this for your answer..
Need help on C-shell script program..