View Single Post
Old 17th February 2021, 06:47   #45
Major Dude
Join Date: Mar 2008
Location: Erlangen
Posts: 919
That solves that problem, but I still get range check errors further down. It does not seem to be 100% reliable, and the position of the error seems to jump, I cannot locate it.

I am using Lazarus x86-64 here.

Saying that the program runs somewhere, e.g. in a sandbox, does not mean a lot. You may have uninitialised variables which happen to be zero in your environment, and therefore it works, by chance.

I have now recompiled with the "trash variables" option on, to initialise your variables with garbage values. It crashes violently on pressing GO. I could not kill Lazarus, but just before I was about restarting the PC, a message popped up. See attached.

Strings are starting at 1, not zero !!!! I guess you have this mistake in more than just one place.
Attached Thumbnails
Click image for larger version

Name:	Unbenannt.PNG
Views:	48
Size:	11.6 KB
ID:	54721  
Nitorami is offline   Reply With Quote