You are correct. I can reproduce the problem but I had not
identified the source accurately.
Unfortunately I had transferred the script file from Windows to Linux
for testing with the latest CVS version. In doing so, there appears
to have been a problem with an end-of-line character which meant that
the following "endif" statement was getting lost or
concatenated. That happened for the version that I was testing with
"if a != b" but not for the reversed version with "if a = b".
This should be a warning for anyone who transfers script files
between Windows & Linux.
Gordon
Are you sure? The following script runs fine here:
<script>
nulldata 10
a = 1
b = 2
if a != b
printf "NOT equal!\n"
else
printf "Equal.\n"
endif
</script>
Riccardo (Jack) Lucchetti