PDA

View Full Version : Finding the Error during compilation



deaneb
12-15-2001, 03:22 AM
I am getting the following Compilation Error

Error in line 10387
-> Poly( a 0 1 2 3 )
-> corrupted polygon, check points and point list!
Error in line 10388
-> Poly( a 7 6 5 4 )
-> corrupted polygon, check points and point list!
Error in line 10389
-> Poly( a 4 5 1 0 )
-> corrupted polygon, check points and point list!
Error in line 10390
-> Poly( a 3 2 6 7 )
-> corrupted polygon, check points and point list!
Error in line 10392
-> Poly( a 5 6 2 1 )
-> corrupted polygon, check points and point list!
Scasm compilation status: error(s) 5

The problem is finding the lines. Obviously I was not going to count 10,000 + lines of text so I copied and pasted the message into MS word. With 57 lines per page I worked out the error was on the 183rd page. It happened to be a 3d macro which I had used several times so I deleted them and recompiled. The error message still comes back but on lines less than those previously(page 10387). Obviously I am not finding the corrrect lines/macro or the program is just corrupting other macros each time. Maybe the file is too big??

Any other ideas

Deane

thiscox
12-17-2001, 08:07 AM
check carefully the parameters you are passing this macro. I've seen this happen when a dimension parameter of zero is mistakenly passed.

deaneb
12-18-2001, 02:40 AM
I solved the problem by going back to an earlier save of the airport I was working on. I lost an hours work but it saved time in the long run. Still never found the culprit as I added all the same macros etc as continued my project. So far no problems. Thank goodness for back-ups.

Thanks

Deane