Non-programmers should note the crucial difference
in principle between
1. if <condition> <command>
and
2. <command> if <condition>
Form 1 carries out _one_ test of the <condition>
supplied. If it is true, <command> is carried
out, but not otherwise.
Form 2 carries a test of the <condition>
supplied for _every_ observation specified
and then carries out <command>
for the observations for which it is true.
That is very interesting Nick and something I  might well have screwed up 
sooner or later.  Form 1 looks very much like the SPSS if command; but it 
works very differently.  Form 2 is what SPSS users will want as their 
equivalent to the SPSS if.