|
|
|||||
|
|
|
Random errors: what can cause them
|
|
||
|
During my test, I created a very simple class with 2 methods (one 25, one 30), each only doing an info("Test25") or Info("Test30")... Of course these two methods had name 25 and 30 long. In my only window, I was doing: oTest is clMyClass You would think that you would get the GPF when trying to execute the 3rd line above... But no, I got a GPF FIRST, and when I clicked ignore, I got the display of Test25, and then the display of Test30... In a 3 lines long program, the GPF was already not occurring at the exact time of the execution... Imagine the kind of problem to find what's going on in a big and complex project...
File's fields name length: If you use in your code TE.sName3089012345678901234567890, everything works fine (sometime), but if you use Test2530.sName3089012345678901234567890, you have not one message but TWO in the code editor saying that the identifier is too long... Of course, if you are using the indirection operators { and }, you have no message in the code editor, but you'll get one at the execution time... Try it with sName25890123456789012345, and you'll have the same problem... Try it with a name 24 characters long, and you have no problem... And in some cases (but I haven't been able to identify exactly when), you will get a GPF, and of course not exactly when you are using this variable, but later... |
|||||
| Links: |
|
||||