
March 20th, 2006, 04:34 PM
|
|
Contributing User
|
|
Join Date: Jul 2004
Posts: 177

Time spent in forums: 2 Days 2 h 52 m 49 sec
Reputation Power: 9
|
|
|
C Shell
So I'm writting a C shell script, part that gives me problems looks like something like this:
Code:
foreach count (1 2 3)
#some code
if ($count == 2) then
#some code
else
#some code
endif
I keep getting an error message if: badly fomred number.
What a heck is going on here?
Thanks.
|