Jump to content

Recommended Posts

Posted

How does everybody store their functions they use over and over? I'd like to start building a library of typical functions but am not sure how to build the document to store them for easy retrieval as needed.

 

J. Logan

Posted (edited)

There is some change of thought, a big library or a demand load. I certainly support a library of common functions more like the use every day code or its company std stuff correct layer setting etc.

 

If its a defun a simple "if not" will demand load. The main reason for smaller groups of code is making subtle changes to code like the example I have posted changed a Getreal to using a dcl. If you make a typeoh in your big library then it stops working.

 

(if (not AH:getval) (load "getval"))
(ah:getval "Enter ht adjust.." 10 

Edited by BIGAL

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...