meta data for this page
Dynamic Variables
A dynamic variable lets a job ask for an argument each time you run it. This is useful when you want to run the same job several times with different arguments.
Dynamic variables are words of your choice, surrounded by $. The example below has two: $filename$ for the “filename” in ReadImage, and $title$ for the “title” in Show.
Adding a dynamic variable
Check the box next to an argument but leave its text box empty. The argument's name is used as the variable's name. You can change it to any name you want, as long as it has no special characters.
Running a job with dynamic variables
When you execute a Star that contains dynamic variables, a dialog box appears. Enter the values, select Done, and the job runs with those arguments.
Flowcharts at the Intermediate level also use dynamic variables; see Flowcharts – Dynamic Variables.