Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!moss@brl-vld From: moss%brl-vld@sri-unix.UUCP Newsgroups: net.unix Subject: Re: csh question Message-ID: <16927@sri-arpa.UUCP> Date: Fri, 24-Feb-84 15:18:20 EST Article-I.D.: sri-arpa.16927 Posted: Fri Feb 24 15:18:20 1984 Date-Received: Fri, 2-Mar-84 13:12:28 EST Lines: 28 From: Gary S Moss ~Software Development Team~Jim -- My guess is that you are fooling yourself with indentation and white space causing an ambiguity in syntax. if($x == 1) then # Your code set y=2 else if($y == 2) then echo "line 1" else echo "line 2" endif echo "shouldn't get here" endif ------------------------- if($x == 1) then # Equivalent set y=2 else if($y == 2) then echo "line 1" else echo "line 2" endif echo "shouldn't get here" endif -- Moss.