gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] WriteReal problem


From: Gaius Mulley
Subject: Re: [Gm2] WriteReal problem
Date: 29 Jan 2008 15:45:35 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

"Ivan F. Villanueva B." <address@hidden> writes:

> Hello,
> I'm trying to compile programs with gm2 (Debian package Version: 0.6.3-1).
> I've been unable to use WriteReal. Following compiles fine but it stucks at
> the line with WriteReal when executing. Any ideas why?
> 
> MODULE bf;
> FROM InOut     IMPORT WriteString, WriteLn;
> FROM RealInOut IMPORT WriteReal;
> BEGIN
>   WriteString ('Gesamtgewicht =  ');
>   WriteReal (78.3 + 77.1 + 61.9, 8);
>   WriteString (' kg'); WriteLn;
> END bf.

Hi,

yes it appears to be a compiler bug when promoting a REAL to a
LONGREAL.  I'll investigate, many thanks for the bug report,

regards,
Gaius




reply via email to

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