langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -0,0 +1,14 @@
|
|||
if condition then
|
||||
statement;
|
||||
else
|
||||
statement;
|
||||
|
||||
if condition then
|
||||
do;
|
||||
statement-1;
|
||||
.
|
||||
.
|
||||
statement-n;
|
||||
end;
|
||||
else
|
||||
statement;
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
select (i); /* select on value of variable */
|
||||
when (1,4,9)
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
|
||||
when (11, 42)
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
|
||||
other /* everything else */
|
||||
do;
|
||||
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 (string = 'ABCDE')
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
|
||||
other
|
||||
do;
|
||||
statement(s)
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue