Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,14 +1,14 @@
|
|||
if condition then
|
||||
statement;
|
||||
else
|
||||
statement;
|
||||
if condition_exp then unique_statement; else unique_statement;
|
||||
|
||||
if condition then
|
||||
do;
|
||||
statement-1;
|
||||
.
|
||||
.
|
||||
statement-n;
|
||||
end;
|
||||
if condition_exp then
|
||||
unique_statement;
|
||||
else
|
||||
statement;
|
||||
unique_statement;
|
||||
|
||||
if condition_exp
|
||||
then do;
|
||||
list_of_statements;
|
||||
end;
|
||||
else do;
|
||||
list_of_statements;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
select (i); /* select on value of variable */
|
||||
when (1,4,9)
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
if condition_exp1 then
|
||||
statement_1;
|
||||
else if condition_exp2 then
|
||||
statement_2;
|
||||
else if condition_expN then
|
||||
statement_N;
|
||||
else
|
||||
statement_E;
|
||||
|
||||
when (11, 42)
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
|
||||
other /* everything else */
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
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;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -1,21 +1,16 @@
|
|||
select; /* select first matching condition */
|
||||
when (i = 4);
|
||||
select (i); /* select on value of variable */
|
||||
when (1,4,9)
|
||||
do;
|
||||
statement(s)
|
||||
statement_s;
|
||||
end;
|
||||
|
||||
when (this = that)
|
||||
when (11, 42)
|
||||
do;
|
||||
statement(s)
|
||||
statement_s;
|
||||
end;
|
||||
|
||||
when (string = 'ABCDE')
|
||||
other /* everything else */
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
|
||||
other
|
||||
do;
|
||||
statement(s)
|
||||
statement_s;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
select; /* select first matching condition */
|
||||
when (i = 4)
|
||||
do;
|
||||
statement_s;
|
||||
end;
|
||||
|
||||
when (this = that)
|
||||
do;
|
||||
statement_s;
|
||||
end;
|
||||
|
||||
when (mystring = 'ABCDE')
|
||||
do;
|
||||
statement_s;
|
||||
end;
|
||||
|
||||
other
|
||||
do;
|
||||
statement_s;
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue