<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all!</p>
<p>I'll try string variables in CASE. But I have error - "syntax
error, unexpected TEXT"</p>
<p>function casetest(string aaa)<br>
{<br>
if aaa ~ "a1" then print "ok";<br>
case aaa {<br>
"a1" : print "a1";<br>
"b1" : print "b1";<br>
else: print "not a1, nor b1";<br>
}<br>
}<br>
</p>
<p>Sometimes it will be comfortable. Why it is error?<br>
</p>
<p>-- </p>
<div class="moz-signature">
<div class="moz-signature">
<pre>Regards,
Mikhail V. Majorov
</pre>
</div>
</div>
</body>
</html>