Two different logical statements yielded the same results. Logically version 1 does not make sense, but it seems to work. I am not sure why? Any ideas why this would be?

The two sets of syntax combine 7 variables into a new variable (New) into either with our without a certain characteristic. For each of the variables, 1 means the population does not has a certain characteristic and 2 means they do have. The data are not mutually exclusive

______________

*Version 1

COMPUTE New=0.

EXECUTE.

IF DIFFREM = 1 OR DIFFPHYS = 1 OR DIFFMOB= 1 OR DIFFCARE= 1 OR DIFFSENS= 1 OR DIFFEYE= 1 OR DIFFHEAR= 1 New = 1.

IF DIFFREM = 2 OR DIFFPHYS = 2 OR DIFFMOB= 2 OR DIFFCARE= 2 OR DIFFSENS= 2 OR DIFFEYE= 2 OR DIFFHEAR= 2 New = 2.

VALUE LABELS New

1 "Without"

2 "With".

Formats New (F5.0).

EXECUTE.

* Version 2

COMPUTE New2=0.

EXECUTE.

IF DIFFREM = 1 AND DIFFPHYS = 1 AND DIFFMOB= 1 AND DIFFCARE= 1 AND DIFFSENS= 1 AND DIFFEYE= 1 AND DIFFHEAR= 1 New2= 1.

IF DIFFREM = 2 OR DIFFPHYS = 2 OR DIFFMOB= 2 OR DIFFCARE= 2 OR DIFFSENS= 2 OR DIFFEYE= 2 OR DIFFHEAR= 2 New2= 2.

VALUE LABELS New2

1 "Without"

2 "With".

Formats New2 (F5.0).

EXECUTE.

Thanks