Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-10

Divide by zero in my main form

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Richard Mace

Hi,
I am getting a random weird error, that is not making any sense to me. I have a main form that has a splitter and notebook and other bits and pieces on it, and all is ok whilst working on the project, then, a few times a week, when I load Lazarus from scratch and it loads my project, I get a "divide by zero" error on the main form, even though, when I was last compiling it, it was working fine.
When I then click on the tab with the ide, I get a "list index (-1) out of bounds".
I am using Windows 8 and Lazarus 1.0.12 with the standard FPC that comes with it.
I've attached the current problematic main.lfm form, and if anyone could spare a few minutes to look at it, that would be great. I really don't understand it as I can restore an old main.lfm file from a backup and all is well for a few more days, and then, bang, the same thing happens.

Thanks in advance for any help.
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131030/49cb9db0/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: main.lfm
Type: application/octet-stream
Size: 66706 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131030/49cb9db0/attachment-0001.obj>

Reply by email