gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Is this a bug?


From: Gaius Mulley
Subject: Re: [Gm2] Is this a bug?
Date: 11 Oct 2004 11:30:24 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"John B. Wallace, Jr." <address@hidden> writes:

> This code produces an unexpected result:
> 
> 
> MODULE StrAssignTest;
>  
> FROM StrIO IMPORT WriteString, WriteLn;
>  
> TYPE
>   String = ARRAY [0..255] OF CHAR;
>  
> VAR
>   Str : String;
>  
> BEGIN
>   Str := 'abcdefghij';
>   WriteString(Str);
>   WriteLn;
>   Str := '1234';
>   WriteString(Str);
>   WriteLn
> END StrAssignTest.
> 
> 
> On my system the output is:
> 
> abcdefghij
> 1234efghij

Hi John,

yes indeed it is a bug, thanks for the error report..

Gaius



reply via email to

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