t-programs2
@switch("zork", "xyzzy", "That was xyzzy", "plugh", "That was plugh",
"That was something else") will always result in "That was something
else", as "zork" (the argument) doesn't match any of the other
possibilities.
In fact, every element of the list inside the brackets is an argument;
what is done with it depends on the function.
A function always evaluates arguments. Such an argument can be anything
you want: even other functions are perfectly valid (and indeed
necessary for certain effects).
@print(@lcase("HeLLo MY frIend")) will print "hello my friend".
[Type "help t-programs3" for a complex final example or "help
programming" for a more general description of programs.]