07-05-2017 01:03 PM
Hey, This code runs, but I wish to make sure it is correct because the "or" does not appears in "blue".
if DD1=1 or DD2=1 or DD3=1 or DD4=1 or DD5=1 or DD6=1 or DD7=1 then DD=1; else DD=0;
07-05-2017 06:14 PM
Syntax highlighting makes the or blue in my SAS EG editor.
Should also other SAS language elements like data not appear in blue then make sure that you don't have something like an unbalanced quotation mark higher up in your code.
Need further help from the community? Please ask a new question.