CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-19-2009, 12:39 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
A package riddle (Lisp)

Hi all,

I just posted the first of a small series of blog posts on an interesting Lisp package problem which I debugged recently. Can you guess what the sample code at http://www.clausbrod.de/Blog/DefinePrivatePublic20090819PackageRiddle does - and why?

Have fun:-)

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #2  
Old 08-20-2009, 08:55 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: A package riddle (Lisp)

And here's part 2 of the package riddle:

http://www.clausbrod.de/Blog/DefinePrivatePublic20090820PackageRiddlePart2

Enjoy 8-)

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 08-25-2009, 12:43 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: A package riddle (Lisp)

Part III is now also online:

http://www.clausbrod.de/Blog/DefinePrivatePublic20090822PackageRiddlePart3

I'll solve the puzzle in part IV.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #4  
Old 08-26-2009, 06:29 AM
BMaverick's Avatar
BMaverick BMaverick is offline
Registered User
 
Join Date: Mar 2009
Location: Tennessee, U.S.A.
Posts: 267
Re: A package riddle (Lisp)

To test or not to test, that is the question.

Test a deep hidden symbol and a popup menu. Well, that's what I have gotten from this. I'm not a LISP expert by any means. It will be neat to see the last installment to reveal hidden method to this.
__________________
Support Your Local Sheriff - At high noon

Jason: "How much does it pay?"
Citizen: "Well, none of our other sheriffs ever lived long enough to find out."

Co-Create 2007 (15.50G)
ANSYS Workbench 14
SolidWorks 2011
UGNX-7.5 / TeamCenter UA 8
PADS 2000
Applicon Bravo
Autotrol
CADAM
Pro/E
Reply With Quote
  #5  
Old 08-28-2009, 07:29 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: A package riddle (Lisp)

Fourth and final part: http://www.clausbrod.de/Blog/DefinePrivatePublic20090828PackageRiddle4

One of the blog articles (hopefully) will cover some background on what a dialog actually is, and why you, unlike other Lisp stuff, you can call dialogs without those parentheses.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #6  
Old 08-28-2009, 12:49 PM
BMaverick's Avatar
BMaverick BMaverick is offline
Registered User
 
Join Date: Mar 2009
Location: Tennessee, U.S.A.
Posts: 267
Re: A package riddle (Lisp)

OK, now that the problem was solved with test how would one use this knowledge practically in CoCreate?
__________________
Support Your Local Sheriff - At high noon

Jason: "How much does it pay?"
Citizen: "Well, none of our other sheriffs ever lived long enough to find out."

Co-Create 2007 (15.50G)
ANSYS Workbench 14
SolidWorks 2011
UGNX-7.5 / TeamCenter UA 8
PADS 2000
Applicon Bravo
Autotrol
CADAM
Pro/E
Reply With Quote
  #7  
Old 08-28-2009, 01:09 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: A package riddle (Lisp)

The test code is a stripped-down version of the original debugging scenario I encountered; it doesn't do anything useful other than to provoke a puzzling error message.

As an end user or admin, you will probably not care about the intricacies of Lisp package handling as discussed in the series. I have seen application programmers run into the issue, however, so maybe this is helpful to someone out there, some day...

And I promise to return to less geeky stuff in upcoming blog postings 8-)
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:01 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.