I guess I did not fix that correctly?
Registered forum members do not see this ad.
Nice one Buzzard,
Bear in mind though that as it stands, the program will still try to execute, even if the load_dialog fails, due to how you have structured the last Cond statement.
Also, the COND and IF together are redundant when testing the same variable in a few of your functions, as both are conditionals, I would either use one or the other
Again, just suggestions for improvement.
Lee
Lee Mac Programming
With Mathematics there is the possibility of perfect rigour, so why settle for less?
Just another Swamper




I guess I did not fix that correctly?
Not quite.
Again, let me re-iterate though, there wasn't too much wrong with your original code, as always, there are many ways to code the same thing, and I wouldn't like you to think that I am nagging you into changing parts of your program, I'm just offering ideas as to how I would approach the coding, I will not be offended if you decide not to incorporate my suggestions![]()
Lee Mac Programming
With Mathematics there is the possibility of perfect rigour, so why settle for less?
Just another Swamper




I think you are referring to where the conditional has ended?
I am not quite sure where it is suppose to end.
At the end of the whole Main Function I think?




Ok Lee,
I tried again.
Ok, the Cond is correct now - but do you understand why we are using it in that way? I wouldn't want you to use code just because I recommend it.![]()
Lee Mac Programming
With Mathematics there is the possibility of perfect rigour, so why settle for less?
Just another Swamper




Now I see what you are saying about the cond & if being redundant.
I did not know I could combine them, But it makes good sense.
I have now fixed that.




Last edited by The Buzzard; 30th Apr 2010 at 12:13 am.




Attention All!
Version V0.2 has been uploaded to the first post.
Added Non-Coded Flanged Only Head.
Enjoy the code.
The Buzzard
Registered forum members do not see this ad.
No fair! You're changing it faster than I can use it! LOL
Thank you Buzzard. Already shared it with one fellow CAD user and he went crazy with glee!
"I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police
Eat brains...gain more knowledge!
Bookmarks