Wrong Receive Values with Class Params

forum.gupta.bugreport (2005-2010)
jsp2011
Germany
Posts: 14
Joined: 13 Feb 2020, 15:12
Location: Mainz

Wrong Receive Values with Class Params

Post by jsp2011 » 04 Nov 2005, 12:50

 Posted by:  Jürgen Spatz 

Hi

I found a extrem ugly bug in TD 3.0 and TD 3.1 (the other versions i didn't
test yet)

The problem comes, when you call a function with a receive Number with an
instance varibale from a class. When you do this TD sets the first 4 digits
correct the rest it sets to 0

Example:

Function SetValue
Receive Number: nWert
Action
Set nWert = 1234512345
Return TRUE

Function Test
Number: nWert
cClass: cTest ! With iv_nWert as IV
Action
Call SetValue( nWert )
! nWert = 1234512345 OK

Call SetValue( cTest.iv_nWert )
! nWert = 1234000000 Error

I made a small example to show the error

With Regards

Jürgen Spatz
fecher

You do not have the required permissions to view the files attached to this post.

Niels Allerheiligen

Re: Wrong Receive Values with Class Params

Post by Niels Allerheiligen » 04 Nov 2005, 13:39

 Posted by:  Niels Allerheiligen 

No such error in TD2005.

-Niels-

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1462
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Wrong Receive Values with Class Params

Post by Igor Ivanovic » 04 Nov 2005, 18:59

 Posted by:  Igor Ivanovic 

It's an old bug. It existed in TD2.1 also and gave me a lot of
headaches.
It's fixed in TD2005.x

Igor

On Fri, 4 Nov 2005 12:50:15 +0100, "Jürgen Spatz"

Return to “gupta.bugreport”

Who is online

Users browsing this forum: [Ccbot] and 0 guests