<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Op 8-8-2015 om 20:24 schreef Garrett
Smith:<br>
</div>
<blockquote
cite="mid:CACU=p6sa17G_s1tM0iRJqMvhuGu2ZvZES-UmaQs8W2=LNd=EDw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">This is actually Joe's way:</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Aug 8, 2015 at 1:19 PM,
Roelof Wobben <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:r.wobben@home.nl" target="_blank">r.wobben@home.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">char_to_shape(Char)
-><br>
case Char of<br>
$R -> get_dimension(rectangle);<br>
$T -> triangle;<br>
$E -> ellipse;<br>
$r -> rectangle;<br>
$t -> triangle;<br>
$e -> ellipse<br>
end.</blockquote>
</blockquote>
</div>
<br>
I think your immediate problem is just reading a bit more
carefully. Oh, and try not to use the list as a compiler :)</div>
</div>
</blockquote>
<br>
That was Joe first way.<br>
<br>
Later he explained thet try catch because the exercise needs to give
error messages.<br>
<br>
Roelof<br>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/antivirus">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
<br><a href="https://www.avast.com/antivirus">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</body>
</html>