Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message in Borland c++ Builder

Status
Not open for further replies.

shilpashetty27

Technical User
Apr 12, 2007
32
CA
Hi all,

My Borland ++ Builder project displays the following error after compiling and linking:

'Project example.exe raised exception class EListError with message 'List index out of bounds (1);. Process stopped. Use Step orRun to continue'.


Can someone please enlighten me on how I can get rid of this error?

Your help is appreciated.


Thanks in advance,
Shilpa
 
I looks like you are attempting to access the list with an index that doesn't exist. For example, the list has 2 items but the program is trying to access item #3.

Can you show us some code where the error occurs?



James P. Cottingham
-----------------------------------------
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
Thanks so much for the valuable info. It was just what I needed to know to solve my problem!

cheers,
Shilpa
 
On the same note, can you please tell me what the foll means:

Timer->Enabled = !Timer->Enabled

I'm a bit confused what the above statement does.

Thanks,
Shilpa
 
The '!' means "the opposite" or "NOT".
Thus the statement means:
Set Timer->Enabled to the opposite state of what's in now.

True will become false and vice-versa.

Totte
Keep making it perfect and it will end up broken.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top