How local variables work in projects#
You can create local and global variables with identical names (see Fig. 1 below), in this case local variable will always take precedence over global, within the level where it is used. If a local variable is deleted, the link to the global variable of the same name becomes active.
No, when you copy an entire group, all internal references remain references to variables in the new copy of the group.
Yes. Old projects open without errors. You can add local variables at any time.
No, only internally. To make them visible externally, move the variable to the group properties.
Yes. When renaming, the system will update all links within the group.
Yes, for integer and floating-point values.
No - for variables of type array (there will be an error message).
Fig. 1 Example of a warning about identical variable names#