In the presence of global variables, pattern variables may show unexpected behavior:
Delayed assignments behave as expected:
Pattern variables are not symbols; you cannot normally assign to them:
Use local variables for this purpose:
Use upvalues to assign to subscripted variables:
Subscripted variables are distinct from indexed variables: