langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1,14 @@
if condition then
statement;
else
statement;
if condition then
do;
statement-1;
.
.
statement-n;
end;
else
statement;

View file

@ -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;

View file

@ -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;