Newsgroups: comp.sys.transputer
From: andyr@wizzy.com (Andy Rabagliati)
Subject: Re: 2 questions
Organization: W.Z.I.
Date: Fri, 2 Dec 1994 16:39:00 GMT
Message-ID: <D06zL0.Jwu@wizzy.com>

In article <1994Dec2.111657.22054@eso.org>,
Claudio Cumani <ccumani@eso.org> wrote:
>
>2) what's the difference between the two following statements ?
>
>   a)   IF
>          variable = value1
>            SEQ
>              ...
>          variable = value2
>            SEQ
>              ...
>
>   b)   CASE variable
>          value1
>            SEQ
>              ...
>          value2
>            SEQ
>              ...
>
>   Are they executed in a different way ? Is one faster than the other ?
>

They probably even compile to the same code.

Cheers,    Andy!


--
Andy Rabagliati . andyr@wizzy.com   .   Parallel Processing . +1.719.635.6099

