Search Results

Search: Posts Made By: haze21
43,167
Posted By haze21
My original code has an error with the for loop
My original code has an error with the for loop
43,167
Posted By haze21
Yes I posted the whole problem before and you...
Yes I posted the whole problem before and you gave me an answer but i want to use my own code. I dont want to use someone elses code, I am just having trouble figuring out the problem with the...
43,167
Posted By haze21
Foreach loop
What am I doing wrong with this foreach loop?

foreach var ($argv)
@sum = $sum + $var
17,402
Posted By haze21
Need help on C-shell script program
#!/bin/csh
# This program will add integers
#
#
# add integer1 ..
#

# Check for argument
if ($#argv == 0 ) then
echo "usage: add integers"
exit 1
else
set input = $argv ...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy