You can use the readvar command, or an assignment statement (of the format $ varname=expression) to define your own variables. In addition, many functions will set variables.
Arbortext Editor will prompt for a value any time a readvar command is encountered. This can be useful when you are writing a script and you want to prompt dynamically for the value of a particular variable.