Jump to content

Recommended Posts

Posted

I know my codes are never as efficient as they could be, "for each" being a prime example. But I post them knowing that others more knowledgeable than I will do something similar, then I can glean knowledge off their iterations to further my own knowledge in the language.

 

Luckily, we have some very knowledgeable guys here at CADTutor!

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    6

  • BlackBox

    6

  • Lee Roy

    6

  • econnerly

    6

Popular Days

Top Posters In This Topic

Posted

Luckily, we have some very knowledgeable guys here at CADTutor!

 

I couldn't agree more, I owe much of my own progress at coding to many CADTutor members... One, extremely knowledgeable bloke, and fellow whovian, comes to mind. :geek:

Posted

Thank you for supplying the explanation Renderman, very informative. One minor niggle is that the color map in my code is not a list of groups pairs (as is created by supplying the 'cons' function with two atoms), but rather a list of two items, equivalent to:

 

(list
   (list <old color> <new color>)
   ...
   (list <old color> <new color>)
)

But that's a minor correction and maybe me being petty. I only used this construction over the list of dotted pairs so that the user did not have to worry about or be confused by supplying the 'dot' between the two colours.

 

Happy to help guys!

Posted

Corrections always welcomed; admittedly, I should have looked at your code more closely before posting. :oops:

 

Purely a mistake on my part, as I was just using grouped pairs in a coding effort here. I'll correct my post for others that may stumble upon this thread, my friend. :beer:

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...