2015-02-20 00:35:01 -05:00
|
|
|
if condition_exp1 then
|
|
|
|
|
statement_1;
|
|
|
|
|
else if condition_exp2 then
|
|
|
|
|
statement_2;
|
|
|
|
|
else if condition_expN then
|
|
|
|
|
statement_N;
|
|
|
|
|
else
|
|
|
|
|
statement_E;
|
2013-04-10 22:43:41 -07:00
|
|
|
|
2015-02-20 00:35:01 -05:00
|
|
|
if condition_exp1 then do;
|
|
|
|
|
list_of_statements;
|
|
|
|
|
end;
|
|
|
|
|
else if condition_exp2 then do;
|
|
|
|
|
list_of_statements;
|
|
|
|
|
end;
|
|
|
|
|
else if condition_expN then do;
|
|
|
|
|
list_of_statements;
|
|
|
|
|
end;
|
|
|
|
|
else do;
|
|
|
|
|
list_of_statements;
|
2013-04-10 22:43:41 -07:00
|
|
|
end;
|