gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Fwd: CASE: gm2-4.1.2 of 2011-11-08 bug (or possibly philosophi


From: Fischlin Andreas
Subject: Re: [Gm2] Fwd: CASE: gm2-4.1.2 of 2011-11-08 bug (or possibly philosophical difference)
Date: Wed, 16 Nov 2011 16:04:05 +0000

Dear Gaius,

Excellent and many thanks!

Regards,
Andreas


ETH Zurich
Prof. Dr. Andreas Fischlin
Systems Ecology - Institute of Integrative Biology
CHN E 21.1
Universitaetstrasse 16
8092 Zurich
SWITZERLAND

address@hidden
www.sysecol.ethz.ch

+41 44 633-6090 phone
+41 44 633-1136 fax
+41 79 221-4657 mobile  NEW as of Dec.2011 +41 79 595-4050

             Make it as simple as possible, but distrust it!
________________________________________________________________________




On 16/11/2011, at 11:43 , Gaius Mulley wrote:

> "Fischlin  Andreas" <address@hidden> writes:
> 
>> for all what I know above is illegal, a plain syntax error (multiple defined 
>> cases). Perhaps what is intended should be defined similar to this
>> 
>> MODULE TstCase;
>> 
>>  TYPE
>>    Mystruct = RECORD
>>                CASE c:CARDINAL OF
>>                 0,2: x: INTEGER;  |
>>                 1,3..4: y: CARDINAL; |
>>                END;
>>                END(*RECORD*);
>> 
>>  VAR
>>    x: Mystruct;
> 
> Hi Andreas,
> 
> just to confirm that this code compiles cleanly with gm2,
> 
> regards,
> Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]