Create Variable With Keyboard and Copy the instruction and the variable

Can you show the code where you have implemented the variable creation?
Also, you can look at this post or other similar posts in the forum and see if it helps.