1.

Under What Circumstances Would You Code A Select Construct Instead Of If Statements?

Answer»

I think Select STATEMENT is used when you are USING one condition to compare with severalconditions like.
Data exam;
Set exam;
select (pass);
when PHYSICS gt 60;
when math gt 100;
when English eq 50;
otherwise fail;
run;

I think Select statement is used when you are using one condition to compare with severalconditions like.
Data exam;
Set exam;
select (pass);
when Physics gt 60;
when math gt 100;
when English eq 50;
otherwise fail;
run;



Discussion

No Comment Found