xBrowse: error in SameArrayStruct(..) function

xBrowse: error in SameArrayStruct(..) function

Postby Marco Turco » Mon Apr 20, 2009 2:40 pm

Hi,
line 9380 "if nLen<=len(aNew)" has to be replaced with "if nLen<=len(aNew[1])" otherwise that function return .f. incorrectly
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: xBrowse: error in SameArrayStruct(..) function

Postby nageswaragunupudi » Mon Apr 20, 2009 7:20 pm

It was not an error. I think it was intentional. If the new array that is being substituted has more columns than the present array, it does not affect the browse in any way.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse: error in SameArrayStruct(..) function

Postby mmercado » Tue Apr 21, 2009 1:48 am

Hi Marco, Rao:

I agree with Marco, that sentence is comparing number of columns with number of rows.

Regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: xBrowse: error in SameArrayStruct(..) function

Postby demont frank » Tue Apr 21, 2009 6:39 am

Marco ,

See also viewtopic.php?f=3&t=14046#p72232

From FWH 8.12 it should be corrected
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Re: xBrowse: error in SameArrayStruct(..) function

Postby nageswaragunupudi » Tue Apr 21, 2009 10:37 am

Sorry. Yes. You are all right.
Hope this will be fixed in the next version.
Meanwhile we can correct our copies as Mr Marco suggested
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 58 guests