[M3devel] bits for

Rodney M. Bates rodney_bates at lcwb.coop
Sat Mar 3 16:58:24 CET 2018


Sure sounds like a bug to me.  I'll look at it.

On 03/01/2018 05:57 AM, Peter McKinna wrote:
> Hi,
>
> VAR
>   x : BITS 1 FOR [0..2];
>
> is allowed by the compiler but I think its a bug. Surely you need 2 bits to store a 2
> Same with BITS 2 FOR [0..4];  etc
>
> Looks like an off by one sort of problem.
>
> Regards Peter
>
>
>
>
>
> _______________________________________________
> M3devel mailing list
> M3devel at elegosoft.com
> https://m3lists.elegosoft.com/mailman/listinfo/m3devel
>

-- 
Rodney Bates
rodney.m.bates at acm.org


More information about the M3devel mailing list