How to free LISP memory

Discussion in 'AutoCAD' started by GTVic, Oct 28, 2004.

  1. GTVic

    GTVic Guest

    In my MNL file I have a routine that is defined and then executed and then is never needed again, for example:

    contents of MNL file:
    ...
    (defun test () ...)
    (test)
    ...

    If the TEST function is fairly large it would be nice to delete it and save a bit of memory.

    Could I just do this?

    ...
    (defun test () ...)
    (test)
    (setq test nil)
    ...
     
    GTVic, Oct 28, 2004
    #1
  2. GTVic

    Svend Guest

    That is the authorized way to do it OK.
     
    Svend, Oct 28, 2004
    #2
  3. GTVic

    GTVic Guest

    Thx
     
    GTVic, Oct 28, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.