2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,9 +1,9 @@
/*REXX pgm swaps letter case of a string: lower──►upper & upper──►lower.*/
abc = "abcdefghijklmnopqrstuvwxyz" /*define all the lowercase letters*/
abcU = translate(abc) /* " " " uppercase " */
/*REXX program swaps the letter case of a string: lower ──► upper & upper ──► lower.*/
abc = "abcdefghijklmnopqrstuvwxyz" /*define all the lowercase letters. */
abcU = translate(abc) /* " " " uppercase " */
x = 'alphaBETA' /*define string to a REXX variable*/
y = translate(x,abc||abcU,abcU||abc) /*swap case of X store it ───► Y*/
x = 'alphaBETA' /*define a string to a REXX variable. */
y = translate(x, abc || abcU, abcU || abc) /*swap case of X and store it ───► Y */
say x
say y
/*stick a fork in it, we're done.*/
/*stick a fork in it, we're all done. */