Error generating localized variables (as constants)
问题 The usage message for Set reminds us that multiple assignments can easily be made across two lists, without having to rip anything apart. For example: Remove[x1, x2, y1, y2, z1, z2]; {x1, x2} = {a, b} Performs the assignment and returns: {a, b} Thread , commonly used to generate lists of rules, can also be called explicitly to achieve the same outcome: Thread[{y1, y2} = {a, b}] Thread[{z1, z2} -> {a, b}] Gives: {a, b} {z1 -> a, z2 -> b} However, employing this approach to generate localized