I am testing ADE functions in VLISP. I noticed alot of times when I load the scripts. It will freeze and I would have to restart AutoCAD. Is there something I need to put in the code that will prevent it from doing this?
; Define new table
(setq tabldefn
'(("tablename" . "EQTABLE")
("tabledesc" . "EQUIPMENT TABLE")
("columns"
; EQ NAME COLUMN
(("colname" . "EQ NAME")
("coldesc" . "EQ EQUIPMENT NAME")
("coltype" . "character")
("defaultval" . "<EQ NAME>"))
;EQ TABLE ID
(("colname" . "EQ REF ID")
("coldesc" . "EQ REFERENCE ID")
("coltype" . "character")
("defaultval" . "<EQ REF ID>"))
;EQ DESCRIPTION
(("colname" . "EQ DESC")
("coldesc" . "EQ DESCRIPTION")
("coltype" . "character")
("defaultval" . "<EQ DESC>"))
)))
; Create the new table
(ade_oddefinetab tabldefn)