Forgive me if this has already been spotted, but I think that
something has gone wrong with the negation operator in the latest
CVS. I have recompiled gretl this morning [1.7.6rc1, 28/7/08] and
found that I had repeated problems with the syntax if !isnull(var).
After beating my head against a brick wall I have established that
if a = b
..
else
..
endif
works fine, but
if a != b
..
else
..
endif
generates an error message reporting that there is an "unmatched if".
Gordon