Recent

Author Topic: Listindex exceeds bounds (10)  (Read 3575 times)

Hansvb

  • Hero Member
  • *****
  • Posts: 929
Listindex exceeds bounds (10)
« on: July 07, 2014, 08:39:55 pm »
I have a few large sql statments in some memo's. Today i added a new sql statement to a memo and now i get a warning.  Listindex exceeds bounds (10)
What does it mean?


kpeters58

  • Sr. Member
  • ****
  • Posts: 267
Re: Listindex exceeds bounds (10)
« Reply #1 on: July 07, 2014, 09:18:01 pm »
It means you screwed up.

But I guess you know that already and my statement above, while true, doesn't help you.

Just as you are not helping us to help you: Without relevant code from you, nobody can figure out what you did wrong.

My guess is that you are trying to reference a non-existent data element (array?, list?)
« Last Edit: July 07, 2014, 09:21:15 pm by kpeters58 »
Lazarus 2.0.4/FPC 3.0.4/Win 64

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Listindex exceeds bounds (10)
« Reply #2 on: July 08, 2014, 12:37:19 am »
And learn to use the debugger, please. At least it can show you a proper call stack to trace where the error originally comes from.

 

TinyPortal © 2005-2018