data test;array v{3} (1 2 3);if 2 in v then flag = 5;run;
等价
data test;array v[3] (1 2 3);if 2 in v then flag = 5;run;