[M3devel] mixing INTEGER and LONGINT?

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Fri Jan 8 15:28:11 CET 2010


On Fri, Jan 08, 2010 at 07:44:53AM +0000, Jay K wrote:
> 
> This simple diff in the front end allows the "obvious" mixing of INTEGER and LONGINT without any need for ORD or VAL.
> 
>   MIN(INTEGER, LONGINT) => LONGINT (This is wrong actually, should be INTEGER)  

No, it was correct.

    MIN( 5, -1000000000000000L) = -1000000000000000L
    So the result really needs to be LONGINT.




More information about the M3devel mailing list