• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

a value gives a list

  • Thread starter Thread starter loris binosi
  • Start date Start date

loris binosi

Guest
Hello, everyone.
I am struggling with a little program in lisp and I would like to exploit the dialogs of the language dcl. in the dcl dialog box I have inserted these instructions:: popup_list {
key = "a";
label = "valore di a:";
width = 30;
value = "";
}
to store "a", in the file lisp from a list of 1,2,3,4,5, etc. (setq list "1" "2" "3" "4" "5")what are the next instructions I need to insert? Thanks for any help
 
Last edited:
(action_tile "tuonomelistbox" (setq selection (nth (toi (get_tile \"tuonomelistbox\")) list)))

or

(action_tile "tuonomelistbox" (setq selection))

this function you can use it anywhere, pass your list and return the selected item.
(defun rp_do_lista (list / banner)
(setq strindice)
(if)
(nth) list
"
)
)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top