Bug in TGet with latest xHarbour from CVS

User avatar
Nop
Posts: 107
Joined: Tue Apr 11, 2006 4:36 pm
Location: Uberaba/Brazil

Post by Nop »

hi, the error now is when i press "." , only dec is saved in get. im using last cvs, fwh 2.8 , and EMG solution.
User avatar
Nop
Posts: 107
Joined: Tue Apr 11, 2006 4:36 pm
Location: Uberaba/Brazil

Post by Nop »

EMG, using the samples above, try press ".", only the decimal part is saved in get. thanks
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Nop wrote:EMG, using the samples above, try press ".", only the decimal part is saved in get. thanks
Pressing "," or "." makes no difference for me. The number is zeroed. What do you get instead?

EMG
User avatar
Nop
Posts: 107
Joined: Tue Apr 11, 2006 4:36 pm
Location: Uberaba/Brazil

Post by Nop »

EMG, try the samples below, but without picture,
@ 10, 10 GET nVar
when press, ".", is showed "1.00", but after enter, only "1", stay in get, decimal part is cut.
thanks
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Nop wrote:EMG, try the samples below, but without picture,
@ 10, 10 GET nVar
when press, ".", is showed "1.00", but after enter, only "1", stay in get, decimal part is cut.
thanks
Ok. Sorry, I can't find the cause of the problem.

EMG
User avatar
Nop
Posts: 107
Joined: Tue Apr 11, 2006 4:36 pm
Location: Uberaba/Brazil

Post by Nop »

EMG, but you confirm this? thanks
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Nop,

Use PICTURE "9999999.99"
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 »

Antonio Linares wrote:Nop,

Use PICTURE "9999999.99"
Yes, of course. But pure Clipper and [x]Harbour behavior is different.

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,

yes, right, its just a workaround to solve the problem
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply