MsgInfo() bug

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

MsgInfo() bug

Post by Enrico Maria Giordano »

This is the sample:

Code: Select all

#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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

Thanks for your feedback :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Unfortunately this bug is still present in the FWH February build.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

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

Antonio Linares
www.fivetechsoft.com
Post Reply