FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ERROR in new 9.01
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM

ERROR in new 9.01

Posted: Tue Jan 27, 2009 03:31 PM
I use ASave and AREAD to store arrays. Now I become this error when i restore the array:


Error description: Error BASE/1131 Bound error: array dimension
Args:
[ 1] = N -25279

Stack Calls
===========
Called from: => ARRAY(0)
Called from: .\source\classes\WINDOW.PRG => AREAD(1700)


Line 1700 == aArray = Array( nLen )

Antonio, any changes you made in I2bin or bin2i ??
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM

Re: ERROR in new 9.01

Posted: Tue Jan 27, 2009 03:47 PM
Antonio,

I found the solution in a older version:

function ARead( cInfo )

local nPos := 1, nLen, n

SHOULD BE: local nPos := 4, nLen, n
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: ERROR in new 9.01

Posted: Wed Jan 28, 2009 01:05 AM

Günther,

yes, you are right. Thanks :-)

We did some changes there for VisualFW and forgot to restore it, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: ERROR in new 9.01

Posted: Wed Feb 11, 2009 11:38 PM

Should it be npos = 1 ( As in FWH 8.10 ) or npos = 4 ( As in FWH 8.12 ).

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion