For most commands, variables are substituted when
Arbortext Editor compiles commands into an internal representation rather than when the command is executed. (The exceptions are the
execute and
eval commands, the
if/else and
for/while conditional commands, function calls, and variable assignment where variables are substituted when the command is executed.) This can pose problems with the
map,
alias, and
print commands unless you used the
execute command to defer evaluation of any variables until the action is triggered.