Arbortext Command Language > Using the Arbortext Command Language > Using Variables
  
Using Variables
 
To use a variable, supply it in the command at the point at which you wish its value to be used. For example, suppose you want to know which line of a document the cursor is positioned in. You can't supply the line number explicitly without counting all the lines in the file, but you can use a command containing the variable $currentline to determine this value:
message "line: $currentline"
Entering this command at the command line displays the line number on the status bar.