<font size="2"><font face="times new roman,serif">HI, <br><br>Just try to save space and time when writing case in Binpac for example, <br></font></font><pre>type SMB_string(case_index: int) = case case_index of {
   1    -&gt; a: type1; 
   2    -&gt; b: type1;<br>   3    -&gt; c: type1;<br>   default -&gt; d: type2;<br> };</pre>is there any method that I can avoid of repeated writing case 1, 2, 3 as they actually correspond to same type1? <br><br>Best <br>

<br clear="all"><br>-- <br>Hui Lin<br>Research Assistant<br>DEPEND Research Group, ECE Department<br>University of Illinois at Urbana-Champaign<br><a href="mailto:hlin33@illinois.edu" target="_blank">hlin33@illinois.edu</a><br>