does inlist work both of the following ways?
the first one searching fro values 91, 92 and 93 in the variable px1
the second one searching for value 91 in varaibles px1, px2, px3
Thanks
the first one searching fro values 91, 92 and 93 in the variable px1
Code:
replace x=1 if inlist(px1, 91, 92, 93)
the second one searching for value 91 in varaibles px1, px2, px3
Code:
replace x=1 if inlist(91, px1, px2, px3, px4)
Comment