FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Bug in /= operator
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Bug in /= operator

Posted: Sun Mar 25, 2007 04:40 PM
This is the sample:

#include "Fwce.ch"


FUNCTION MAIN()

    LOCAL nVal1 := 2.000
    LOCAL nVal2 := 10

    MSGINFO( nVal1 /= nVal2 )

    RETURN NIL


It terminates with an error when operator /= is executed.

EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Bug in /= operator

Posted: Sun Mar 25, 2007 10:24 PM
Enrico,

This is a workaround:
#include "Fwce.ch" 

FUNCTION MAIN() 

    LOCAL nVal1 := 2.000 
    LOCAL nVal2 := 10 
    local nVal3 := nVal1 / nVal2

    MSGINFO( nVal3 ) 

    RETURN NIL

Anyhow we are going to check where the error comes from
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Bug in /= operator

Posted: Mon Mar 26, 2007 08:20 AM
Antonio Linares wrote:Enrico,

This is a workaround:
#include "Fwce.ch" 

FUNCTION MAIN() 

    LOCAL nVal1 := 2.000 
    LOCAL nVal2 := 10 
    local nVal3 := nVal1 / nVal2

    MSGINFO( nVal3 ) 

    RETURN NIL


Yes, I did already know it. :-)

Antonio Linares wrote:Anyhow we are going to check where the error comes from


Thank you!

EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Bug in /= operator

Posted: Mon Mar 26, 2007 08:35 AM

Enrico,

It looks as a bug in the Harbour build used for Pocket PC, as this sample with no FWPPC code in it also fails:

nVal1 /= nVal2

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Bug in /= operator

Posted: Mon Mar 26, 2007 08:38 AM

Thank you. I'm going to report it to the Harbour developers list.

EMG

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Bug in /= operator

Posted: Mon Mar 26, 2007 08:40 AM

Enrico,

Wait, its ok in the current Harbour version, so it looks as the bug is just contained in the build used for Pocket PC

We may upgrade soon Harbour for Pocket PC to the current Harbour build

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Bug in /= operator

Posted: Mon Mar 26, 2007 08:41 AM

Yes, you are right.

Thank you.

EMG

Continue the discussion