1. for Phil Russel
- Posted by rswiston at hotmail.com Aug 23, 2002
- 470 views
This is a multi-part message in MIME format. ------=_NextPart_000_0048_01C24AA0.37CE1270 charset="iso-8859-1" Phil, Thanks for your recent help involving your grid sub-routines. I have = the program running with complications. However, I noticed as I would = reload data from different accounts into the register, I would get a = sequence is out of bounds reading from a sequence of length 0 error. = The error was pointing to line 1524. I was able to determine that CELLS = is holding a number (possibly a resource leak from another include = library of mine) from a previous grid... not alway, but once in a while = is still annoying. Therfore I changed your line 1524 to read: if grid > 0 and CELLS <=3D length(GridData[grid]) then which has cured the problem from every occuring again. -Robert ------=_NextPart_000_0048_01C24AA0.37CE1270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Phil,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks for your recent help involving = your grid=20 sub-routines. I have the program running with complications. = However, I noticed as I would reload data from different accounts into = the=20 register, I would get a sequence is out of bounds reading from a = sequence of=20 length 0 error. The error was pointing to line 1524. I was = able to=20 determine that CELLS is holding a number (possibly a resource leak from = another=20 include library of mine) from a previous grid... not alway, but once in = a while=20 is still annoying. Therfore I changed your line 1524 to = read:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>if grid > 0 and CELLS <=3D=20 length(GridData[grid]) then</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>which has cured the problem from every = occuring=20 again.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> ------=_NextPart_000_0048_01C24AA0.37CE1270--
2. Re: for Phil Russel
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 27, 2002
- 467 views
Phil the link below might be of interest to you... http://www.codeguru.com/controls/BABYGRID.html ---------------- cheers, Derek Parnell ----- Original Message ----- From: "Phil Russell" <pg_russell at lineone.net> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, August 28, 2002 7:19 AM Subject: RE: for Phil Russel > > Hi Robert, > > Thanks for your mail. I now have a collection of smallish (I hope!) > problems like this and I will try and get them fixed and issue a new > release in the next week or so. > > Regards, > > Phil > > rswiston at hotmail.com wrote: > > Phil, > > > > Thanks for your recent help involving your grid sub-routines. I have > > the program running with complications. However, I noticed as I would > > reload data from different accounts into the register, I would get a > > sequence is out of bounds reading from a sequence of length 0 error. > > The error was pointing to line 1524. I was able to determine that CELLS > > is holding a number (possibly a resource leak from another include > > library of mine) from a previous grid... not alway, but once in a while > > is still annoying. Therfore I changed your line 1524 to read: > > > > if grid > 0 and CELLS <= length(GridData[grid]) then > > > > which has cured the problem from every occuring again. > > > > -Robert > > > > > > >