Page 1 of 1

MsgInfo() bug

PostPosted: Thu Jan 26, 2006 8:52 am
by Enrico Maria Giordano
This is the sample:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL cStr1 := "1234567890"
    LOCAL cStr2 := "12345678901"

    MSGINFO( VAL( cStr1 ) )
    MSGINFO( VAL( cStr2 ) )

    ? VAL( cStr1 )
    ? VAL( cStr2 )

    RETURN NIL


Results:

1234567890
-539222987

1234567890
12345678901

EMG

PostPosted: Thu Jan 26, 2006 10:34 am
by Antonio Linares
Enrico,

This modified source\function\msgs.c fixes it:
http://hyperupload.com/download/b171ed77/msgs.c.html

Thanks for your feedback :)

PostPosted: Thu Jan 26, 2006 10:51 am
by Enrico Maria Giordano
Thank you.

EMG

PostPosted: Tue Feb 14, 2006 9:51 pm
by Enrico Maria Giordano
Unfortunately this bug is still present in the FWH February build.

EMG

PostPosted: Wed Feb 15, 2006 1:01 pm
by Antonio Linares
Enrico,

Fixed:
http://hyperupload.com/download/b171ed70/msgs.c.html

It looks like a side effect of recent harbour/xharbour changes.

PostPosted: Wed Feb 15, 2006 1:05 pm
by Enrico Maria Giordano
Thank you.

EMG