Variables allow you to store any value in a named container. The value of a variable can change as your macro runs and you assign different values to the variable. Variables are always prefixed with a dollar sign and are declared simply by assigning them a value. For instance:
$age = 24
$name = "Pharika"
Variables can also be assigned by using a command, eg:
$name = Prompt Input ‘What is your name?’
Previous Chapter Macro Tokens |
<< index >> |
Next Chapter Literals |