'CASE' bug!

Mon, 06 Oct 1997 00:01:45 +0800



Hmm, it seems that GPC (971001-DJGPP) is plagued by TurboPascal's famous
'CASE' bug. Have a go at compiling the sample program below:


Var
    I : Integer;
Begin
    Case I Of
        1:   WriteLn('One');
        2:   WriteLn('Two');
        Else WriteLn('Big');

        WriteLn('BUG!');
    End;
End.


Now how did that bug get there :) Cya L8r


 ________________________    e-mail: bernie@icenet.com.au
|  _)        | |                     ptschirrenb@cc.curtin.edu.au
|___)ernhard |_|schirren             tschirre@cs.curtin.edu.au
                             www:    www.geocities.com/CollegePark/Quad/8070/


Bernhard Tschirren (bernie@icenet.com.au)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es