danyra Posted December 14, 2019 Posted December 14, 2019 I have this block of text as you can see in the image below, and in the window show me this "VIGA V-SS01 (.25X .50)", BUT I DONT WANT THAT SHOW ME THIS. I want to the program ask me a question first, for example: What is the name? so I will set the answer of this question in the block I have. SO, I want to have this in the window "VIGA V- (AND THE ANSWER OF THE QUESTION)" EXAMPLE: Computer: What is the name? User write: L22 Then, that will show me: "VIGA V- L22" I will glad if you can help me, If you have already notice, I dont know to much about the topic. Quote
hanhphuc Posted December 14, 2019 Posted December 14, 2019 5 hours ago, danyra said: SO, I want to have this in the window "VIGA V- (AND THE ANSWER OF THE QUESTION)" (setq str (getstring t "\nWhat is the name? VIGA V- ") ) ;change this '(1 . "%%UVIGA V-SS01 (.25X .50)") ;to (cons 1 (strcat "VIGA V- " str)) 1 Quote
asos2000 Posted December 14, 2019 Posted December 14, 2019 add this line before this block of text (setq str (getstring "\Type string")) Then replace 7th line with Quote '(1 . "%%Uviga v-ss01 (.25x.50)") with (cons 1 (strcat "VIGA V- " str )) 1 Quote
Recommended Posts
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.