woodman78 Posted May 26, 2010 Share Posted May 26, 2010 Can someone take a look at this please? It seems to get stuck in a loop or else it dumps me out. But when it dumps me out it does so because it can't find ltype "CCC_WM_300" when it should be "CCC_WM_300A" that it is looking for. Thanks. EXWMAIA.dcl EXWMAIA.lsp CCC_Watermain_EXA.txt Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 26, 2010 Share Posted May 26, 2010 Argh - I do hate spaghetti code... not what OO programming was made for.. Quote Link to comment Share on other sites More sharing options...
woodman78 Posted May 26, 2010 Author Share Posted May 26, 2010 Argh - I do hate spaghetti code... not what OO programming was made for.. ???? Que???? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 26, 2010 Share Posted May 26, 2010 Code that jumps around all over the place - similar to using a GoTo expression... not easy to follow, not good. Quote Link to comment Share on other sites More sharing options...
woodman78 Posted May 26, 2010 Author Share Posted May 26, 2010 Would anyone be able to have a look? Thanks Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 26, 2010 Share Posted May 26, 2010 Would anyone be able to have a look? Thanks Woodman78, You forgot to put in a popup list tile in your dcl for the Hole Type. I put one in for you, But you will have to place it in the dcl where you want it. Also I had to fix AGAIN your save user variables function. You are declaring variables that are not in the program. The list provided places the settings in one variable called SUS. Attached are the fixed files. Try them out. Below is the image of the DCL after I put the Hole Type popup list tile. Fix it to your likings. The DCL you posted did not have that tile, Yet you were using mapcar to fill the tile from your list, However the tile was not in the dcl file. This is why the program was locking up. You are on your own after this. You have been messing with the same code since July of last year only giving the program new names and chopping up functions. If you desire to learn, Then it pays to write this stuff from scratch till it burns in to your mind. You must study what each line means in order to avoid problems like this. I will not keep bailing you out every time you botch up like this. EXWMAIA.lsp EXWMAIA.dcl Quote Link to comment Share on other sites More sharing options...
woodman78 Posted May 27, 2010 Author Share Posted May 27, 2010 OK Buzzard that is fair enough. Thanks anyway. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.