Review your code at the last modification point

1. If the problem still exists, go back to the place where you last made modifications to your file and review the code.

Typically, most internal errors can be reproduced with only a few lines of code and frequently the code involves syntax or constructs that are rather unusual or unexpected. If this is the case, try modifying the code to do the same thing in a different way. For example, if you are typecasting a value, try declaring a variable of the cast type and do an assignment first.

Examples begin if Integer(b) = 100 then... end; var a: Integer; begin a := b;

Here is an example of unexpected code that you can correct to resolve the error:

A : Integer; begin

{ Below the second cast of A to Int64 is unnecessary; removing it can avoid the Internal Error. } if Int64(Int64(A))=0 then end;

2. In this case, the second cast of A to an Int64 is unnecessary and removing it corrects the error. If the problem seems to be a "" loop, try using a "" loop instead. Although this does not actually solve the problem, it may help you to continue work on your application.

If this resolves the problem, it does not mean that either "while" loops or "for" loops are broken but more likely it means that the manner in which you wrote your code was unexpected.

3. Once you have identified the problem, we ask that you create the smallest possible test case that still reproduces the error and submit it to Borland.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment