Jump to content

Recommended Posts

Posted

Hello,

 

I just want to ask regarding the program I want to make cause I am having a problem on how to multiply the two values ( a real number and value from an input box):

 

Part of my DCL;

 : edit_box  {     
      key = "sc";     
             label = "ENTER SCALE :";
    alignment = centered;    
      width = 10;     
      fixed_width = true;
    is_enabled = false;}

 

Part in my LISP;

 (set_tile "sc" "500")
 (mode_tile "sc" 2)

 (action_tile "en" "(progn (setq en $value)(mode_tile \"sc\" 0))")
 (action_tile "accept"
   "(setq scale (get_tile \"sc\")
      (done_dialog 1)
    )"
 )

 

(defun Styles()
 (setq size (* 0.00225 scale))

….)

 

but after running the program just exit.

 

Hope someone can have time to help with this. Thank you!

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