Newsgroups: comp.sys.transputer
From: ccumani@eso.org (Claudio Cumani)
Subject: 2 questions
Keywords: IF CASE output
Organization: ESO - European Southern Observatory, Garching by Munich
Date: Fri, 2 Dec 1994 11:16:57 GMT
Message-ID: <1994Dec2.111657.22054@eso.org>


Two (probably stupid) questions:

1) A transputer process is connected to iserver through a SP channel,
   writing some messages on the host screen. In particular, during an
   operation, it writes the line
       reading image line <line number>
   I would like not to go to a new line and rewrite the complete
   message with the new <line number>, but just to overwrite the 
   old <line number>.
   How can I do ?

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 ?


Thank you for all the information you'll give me

Claudio Cumani


-------------------- << if you cut here, you'll damage your monitor


--
---------------------------------------------------------------------
Claudio Cumani                       |
ESO - European Southern Observatory  |  Voice : +49-89-32006-446
Karl-Schwarzschild str. 2            |  Fax   : +49-89-3202362
D-85748 Garching bei Muenchen        |  E-Mail: ccumani@eso.org
BUNDESREPUBLIK DEUTSCHLAND           |
_____________________________________________________________________


