lisp worked in V7 but does't in V11

15 y ago i made some lisp procedures.

In BCAD V7 it still worked properly

in V11 it doesn't anymore

It's using dcl code voor dialog boxes

Beneath you can find some errors that occur.

I should probably adapt my codes to the lastest version; but where do I have t begin?

What are de major changes that makes old. lsp and .dcl code doesn't work anymore?

Because it's 15y old,the detail of the procedures and lisp aren't really clear to me today.

 

: (menu_extra)
; ----- LISP Error : Call Stack -----
; [0]...xxxxxxxxxxxx
; [1].....xxxxxxxxxxxx
; [2].......xxxxxxxxxxxxx
; [3].........xxxxx
; [4]...........xxxxxx <<--
;
; ----- Error around expression -----
(SET_TILE "le" LET)
;
; error : bad argument type <SPECIAL-FORM> ; expected <STRING> at [SET_TILE]

Comments

  • First, be sure you have the latest version of Bricscad.  The are some changes in how Bricscad draws DCL boxes.

    As for your routine, you would need to post the full routine for anyone to be able to know what the problem is.

  • Dear Jan,

    very likely, it is the LET variable in your program causing the confusion :
    LET is a "special-function" (meaning a kind of defun) in the Lisp engine that we use.

    Normally, most of those internal functions have a special alias name to prevent such
    name clashes ... but as it seems, we missed to have auch alias for the LET special
    function; I will care to fix this soon.

    As workarounf, give your LEt variable another name - and for 99% the code will work :-)
    Please keep us updated whether that workaround worked for you.

    (Also, try with latest Bricscad)

This discussion has been closed.