% Three-way selection using "if-then-else"

var age : int

put "How old are you?  I won't laugh!  " ..
get age

if age < 0 then
	put "Umm, ages are usually positive."
	age := -age
end if

if age > 30 then
	put "Ohmygod.  You're ancient!"
elsif age < 16 then
	put "Come back when you've grown up, kid."
else
	put "You're cool."
end if

%
% elsif is a contraction of "else -- if" and allows
% you to more clearly group together a set of options.
%
