Quick question. Is there a way to add a bit of text to an existing variable (that has been picked before without using *if or three variables?
Example:
*choice
#title one
*set title "one"
*goto next
etc
*label next
*input_text secondpart
*set titel "${title} + ${secondpart}"
if that makes sense
2 Likes
You’ll probably want to make use of the &
function in order to append something to an existing variable.
I got this to work, feel free to adjust as necessary:
*temp title ""
*temp secondpart ""
*temp tite1 ""
*choice
#title one
*set title "one"
*goto next
*label next
*input_text secondpart
*set tite1 title
*set tite1 &" + "
*set tite1 &secondpart
tite1 = ${tite1}
1 Like
Thank you.
I was hoping there’d be a way to do it with just 2 variables (or however log the phrase would be), but I’ll see what I can do.
1 Like